SMTPLIB accessing MicroSoft SMTP mail server
Tim Peters
tim_one at email.msn.com
Tue Apr 27 23:48:59 EDT 1999
[max at rightworks.com]
> 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.
Aha! This msg crossed with my reply to c.l.py. As that reply suggested--
but as you no longer need to know <wink> --this is already fixed in 1.5.2.
upgrade!-ly y'rs - tim
More information about the Python-list
mailing list