Results 1 to 3 of 3

Thread: Sending E-mail through Qt Application

  1. #1
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Sending E-mail through Qt Application

    Hi,

    I am implementing a Qt application using Qt creator and I have to provide the user with E-mail mechanism. Suppose, If I want to send a mail with To address "xx@gmail.com" and From address "xxx@hotmail.com", is it possible to do this in Qt.

    I did some goggling, but nothing useful was found to my understanding. Can anyone provide the example or any document relating to this issue. I would be grateful for any help.

    Thank you,
    Baluk

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Sending E-mail through Qt Application

    Sure, the only problem you'll have is if the "To" address is variable, you'll need to do a MX lookup in your software. Otherwise you can just hard code the result and hope it doesn't change.

    I believe there are email components for Qt that makes the hole process a whole lot simpler for you. See here: http://www.qtcentre.org/threads/2221...email-using-Qt.

  3. #3
    Join Date
    Jan 2008
    Location
    Brasil
    Posts
    131
    Thanks
    18
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Sending E-mail through Qt Application

    See Poco libraries (www.pocoproject.org). In this library you'll find classes for working with network resources, email, ...

Similar Threads

  1. Sending mail - problem with authentication
    By kremuwa in forum Qt Programming
    Replies: 19
    Last Post: 10th March 2010, 23:46
  2. Sending Mail through QProcess
    By KaptainKarl in forum Qt Programming
    Replies: 6
    Last Post: 13th August 2008, 21:51
  3. Sending Mail
    By systemz89 in forum Qt Programming
    Replies: 11
    Last Post: 15th June 2008, 16:16
  4. help with e-mail sending code
    By locus in forum Qt Programming
    Replies: 4
    Last Post: 4th July 2007, 18:07
  5. Sending mail using Qt
    By munna in forum Qt Programming
    Replies: 3
    Last Post: 18th December 2006, 11:17

Tags for this Thread

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.