I want to make in my application sending E-mail by clicking from the menu. I use QDesktopServices. Follows the link, but mailto does not work. I write this:
QDesktopServices::openUrl(QUrl("mailto:receiver@outlook.com")); Tell me what's wrong?
I want to make in my application sending E-mail by clicking from the menu. I use QDesktopServices. Follows the link, but mailto does not work. I write this:
QDesktopServices::openUrl(QUrl("mailto:receiver@outlook.com")); Tell me what's wrong?
It should work, the problem is probably somewhere in the system, try to enter
mailto:receiver@outlook.com straight to the browser address bar
Source: https://ru.stackoverflow.com/questions/666953/
All Articles