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 .
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.
Re: How to send and receive Email ??
Quote:
Originally Posted by
wincry
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...
Re: How to send and receive Email ??
Google for QwwSmtpClient. It's not complete but should work for most cases.
Re: How to send and receive Email ??
Quote:
Originally Posted by
Gnurou
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.