PDA

View Full Version : Sending mail Using Smtp Client



mohanakannan
29th June 2013, 14:37
Hi friends,
I have found out in search engine to send mail…When i send the mail…After going 57%,it is showing an error message like this..
/* Unexpected reply from SMTP server: 530 5.7.0 Must issue a STARTTLS command first. qi1sm23508884pac.21 – gsmtp…………. */ Could any one please sought out my problem please.

saman_artorious
29th June 2013, 14:53
Are you sure the SSL support is enabled?

mohanakannan
5th July 2013, 07:38
very sorry for the late reply Mr.saman_artorious......No,in the coding it is not enabled and also don't know how to enable this ssl//tls in the code...I was strucking in this for more tha 15 days..Please help me.

wysota
5th July 2013, 08:21
How is this question related to Qt?

mohanakannan
5th July 2013, 10:17
In qt only,i was trying to send mail using smtp......But it is telling STRATTLS command needs to be initialosed..How to proceed....

saman_artorious
5th July 2013, 10:32
In qt only,i was trying to send mail using smtp......But it is telling STRATTLS command needs to be initialosed..How to proceed....

This is not relevant to QT. You should enable SSL in your PHP instead. :)

wysota
5th July 2013, 10:47
Is this even a programming question at all? I have no idea whether I should move the thread to General Programming or General Discussion...

If the server is asking you for STARTTLS then the client has to send a STARTTLS request.

Here are the relevant docs:

http://www.ietf.org/rfc/rfc2821.txt
http://www.ietf.org/rfc/rfc3207.txt