Results 1 to 5 of 5

Thread: How to send and receive Email ??

  1. #1
    Join Date
    Jul 2009
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question How to send and receive Email ??

    Hi Everybody ,
    I am a newbie to qt and started reading the book "The Foundations of Qt Development".
    I have a question how do i send and receive emails from qt ? please help me.
    i am trying to make a project in qt .it is a " Railway Freight Tracking System ", so need to know how do i send and receive emails form qt so i can send it to the various
    consignors, consignees. Please provide a complete tutorial ,i want something like a automated email sender without any user involvement .

  2. #2
    Join Date
    Jul 2008
    Posts
    24
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to send and receive Email ??

    Read about the SMTP and POP3 protocols and implement the part you need using the QTcpSocket class. Using readLine and write, it should not be too difficult to get something basic working. I have found an example for sending email using Qt 3.0 which you might use as a reference (it won't compile with Qt >= 4.0 though).

    I have also looked at your post history so far, and think this document might also be a good read.

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to send and receive Email ??

    Quote Originally Posted by wincry View Post
    Please provide a complete tutorial
    Yes, of course, this is absolutely no problem. But to be honest I would like to program your whole application! So please simply write what the application should do and I develop it for you. May be I also pay that I am permitted to do so...

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

    Default Re: How to send and receive Email ??

    Google for QwwSmtpClient. It's not complete but should work for most cases.
    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. #5
    Join Date
    Jul 2009
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to send and receive Email ??

    Quote Originally Posted by Gnurou View Post
    I have also looked at your post history so far, and think this document might also be a good read.
    Thanks for the help .You got me there i always do some stupid things.

Similar Threads

  1. qt3 socket receive problems
    By naga1003 in forum Qt Programming
    Replies: 0
    Last Post: 15th October 2009, 05:12
  2. how to receive email by qt4.3
    By ghnie in forum Qt Programming
    Replies: 1
    Last Post: 25th March 2009, 07:24
  3. My client can't send data
    By hiuao in forum Qt Programming
    Replies: 10
    Last Post: 23rd February 2007, 10:32

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.