Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QDesktopServices::openUrl(QUrl("mailto => Trigger the send process
Forum Updated to NodeBB v4.3 + New Features

QDesktopServices::openUrl(QUrl("mailto => Trigger the send process

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 951 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Flaming MoeF Offline
    Flaming MoeF Offline
    Flaming Moe
    wrote on last edited by
    #1

    Hello again,

    i want to send an Email via the QDesktopServices. I have installed thunderbird.
    When i run the programm thunderbirds opens up the corresponding mask to send an email with the coded topic and text
    QDesktopServices::openUrl(QUrl("mailto:flashgordon@gmx.de?subject=Just a test",QUrl::TolerantMode));

    I need to trigger the sending process of the mail. Is it possible, and in case, how?

    Moe

    A lovely day for a ̶g̶̶u̶̶i̶̶n̶̶n̶̶e̶̶s̶ DUFF^^

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      Hi,

      IMO is not possible to be notified by the mail sending using this technique.
      If you really need to know if and when the mail is sent, you need to use a 3rd party library to send emails

      For instance I fond this https://github.com/bluetiger9/SmtpClient-for-Qt (but I never used).

      Also you can have a look to https://forum.qt.io/topic/29280/simple-tls-ssl-suppoerted-smtp-client-for-qt5

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved