Results 1 to 3 of 3

Thread: Email from my qt app

  1. #1
    Join Date
    Jun 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Email from my qt app

    Hi,

    I have developed an application that is widely used in my company for testing. They wanted an email or sms notifying the tester when the run was finished. On the other hand I have also developed custom scoring tool. I wanted to build into that scoring tool an email option just to email the scored run. I do not want to receive any email but just send an email with the score report. Currently I have to save the report as html and then open the email client and send it. Any thoughts?

  2. #2
    Join Date
    Jun 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Email from my qt app

    For my first problem of sending sms or email to notify the tester that the run has completed, I used the QDesktopServices to send a mail. On my linux box I have no mail client setup so when the run has been completed it pops up the mail client dialog asking me to setup my client. So I am safe to assume that if any email client is set then the email will be delivered?

    On my second problem of sending email with an attachment from my scoring tool application I have gone nowhere so far after searching the net.

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Email from my qt app

    Assuming you are using mailto: URLs to send your mail: Form the RFC,
    The mailto URL is primarily intended for generation of short text messages that are actually the content of automatic processing (such as "subscribe" messages for mailing lists), not general MIME bodies.
    You might consider using this offering if the license is acceptable.

Similar Threads

  1. Sending email using Qt.
    By johnny_sparx in forum Qt Programming
    Replies: 34
    Last Post: 24th August 2013, 17:56
  2. qt email
    By zyl8554 in forum Qt Programming
    Replies: 7
    Last Post: 23rd May 2011, 09:35
  3. How to send email and attachement via default email client
    By richardander in forum Qt Programming
    Replies: 3
    Last Post: 1st December 2009, 04:40
  4. Replies: 7
    Last Post: 5th January 2009, 08:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.