File attachment by QDesktopServices::openUrl
Unsolved
General and Desktop
-
Hi,
I tried to call my email client to attach a picture file by
QString filePath ="c:/myf/aft.jpg" QDesktopServices::openUrl(QUrl("mailto:?subject=test&body=test&attachment;=" + filePath));
It calls my mail client program, but it did not attached the file.
I tried both windows and linux. Is this a bug or do I have to do something else? -
Hi,
I tried to call my email client to attach a picture file by
QString filePath ="c:/myf/aft.jpg" QDesktopServices::openUrl(QUrl("mailto:?subject=test&body=test&attachment;=" + filePath));
It calls my mail client program, but it did not attached the file.
I tried both windows and linux. Is this a bug or do I have to do something else?