Results 1 to 6 of 6

Thread: Sending emails using Qt

  1. #1
    Join Date
    Oct 2010
    Posts
    91
    Thanks
    38

    Default Sending emails using Qt

    Hello!

    I have a question about sending emails using Qt. Yes, I already searched the forum on this topic I read about vmime, the examples that came with Qt3 and I also found some quite good looking code in this forum: http://forum.qtfr.org/viewtopic.php?id=7736a

    But I wonder if there is another, well known and good working solution, a class using only Qt4-methods to send emails with attachments. The code I found in the french forum looks fine, but maybe someone knows about a more common and further developed example.

    Kind regards,
    HomeR

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

  3. The following user says thank you to tbscope for this useful post:

    homerun4711 (9th January 2011)

  4. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Sending emails using Qt

    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #4
    Join Date
    Oct 2010
    Posts
    91
    Thanks
    38

    Default Re: Sending emails using Qt

    Thanks for your answers.

    qtmobility-1.1.0 looks a bit to mighty for my simple application. libqxt and QwwSmtpClient both look very good, but I guess QwwSmtpClient does not support attachments, is that correct? So I will stick to QxtSmtp, QxtMailMessage and QxtMailAttachment.

  6. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Sending emails using Qt

    QwwSmtpClient is a low-level API, it accepts a bulk body of the email. You have to format the body yourself. As for mobility, the messaging framework is available in a separate package too: http://qt.gitorious.org/qt-labs/messagingframework
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #6
    Join Date
    Oct 2010
    Posts
    91
    Thanks
    38

    Default Re: Sending emails using Qt

    Thanks for the reply. I already wrote code that uses the Qxt classes. They perfectly fit my needs and are very easy to use.

Similar Threads

  1. How to programmatically add attachments to emails in Qt
    By Praveena pb in forum Qt Programming
    Replies: 2
    Last Post: 25th November 2010, 20:34
  2. QTouchEvent Not Sending
    By QbelcorT in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 25th November 2010, 10:45
  3. A pair of emails questions
    By Raccoon29 in forum Qt Programming
    Replies: 4
    Last Post: 29th December 2009, 00:10
  4. Sending Mail
    By systemz89 in forum Qt Programming
    Replies: 11
    Last Post: 15th June 2008, 17:16

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
  •  
Qt is a trademark of The Qt Company.