SMTPLIB accessing MicroSoft SMTP mail server

max at rightworks.com max at rightworks.com
Tue Apr 27 21:29:23 EDT 1999


I had reported a problem that when sending mail to a MS SMTP server my code
was hanging.  The fix is in the data() method the msg text is terminated by
sending "\n.\n" It appears that MicroSoft requires a full CRLF. By changing
the line from self.send("\n.\n") to self.send(CRLF+"."+CRLF) problem is
fixed.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




More information about the Python-list mailing list