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
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