Sending email by invoking default mail client
-
Hi, I need to sending email by invoking default mail client.
The object
QDesktopServices::openUrl(QUrl("mailto:..."
works perfectly on Linux but not on Windows.
Can someone suggest me a way to resolve on Windows?
Have you got some lines of code to resolve using the Windows api?
Regards. -
@J-Hilk said in Sending email by invoking default mail client:
My last information is, that it's nor possible to send E-Mails on Windows or to invoke the default windows E-Mail client.
Really?
QDesktopServices::openUrl(QUrl("mailto:..."
works perfectly on Linux but not on Windows.
Just to be clear: this opens a physical, interactive window for the user to type email into and send. It does not allow you to compose the email from code. Correct/intended?
-
@JonB said in Sending email by invoking default mail client:
Really?
IIRC then yes, but my task was to combine it with an attachment, so maybe there comes the restriction in ?🤷♂️