How to open user´s e-mail client
Hi,
I want to launch the user´s e-mail client from my qt app, but I don´t know how to do it.
Using QDesktopServices::openURL(...) with a mailto url the user's e-mail client is used to open a composer window containing the options specified in the URL. But I don´t want to compose a new message, I only want to open the e-mail client.
Which class I should to use?
Thanks in advance.
Regards.
Re: How to open user´s e-mail client
I think in this case you should simply call a QProcess, that opens the mail client instead of using QDesktopServices (very likely to be not platform independent any more; also keep relative and absolute pathnames in mind (tricky little bastards)).
But isn't the idea of clicking on a "mail address link" to write a mail to the owner of that address?
Just opening the mail client would be too less for me.
Re: How to open user´s e-mail client
But by using QProcess I need know the executable path and I want to build a cross-platform app.