wasm-demo/demo/ermis-f/python_m/cur/1221

19 lines
711 B
Plaintext

From: max at rightworks.com (max at rightworks.com)
Date: Wed, 28 Apr 1999 01:29:23 GMT
Subject: SMTPLIB accessing MicroSoft SMTP mail server
Message-ID: <7g5o9g$ues$1@nnrp1.dejanews.com>
X-UID: 1221
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