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

32 lines
1.2 KiB
Plaintext

From: tim_one at email.msn.com (Tim Peters)
Date: Wed, 28 Apr 1999 03:06:22 GMT
Subject: smtplib hang on send "data <crlf>" to MS SMTP server
In-Reply-To: <7g5euo$m7e$1@nnrp1.dejanews.com>
References: <7g5euo$m7e$1@nnrp1.dejanews.com>
Message-ID: <000601be9124$1846dce0$29a02299@tim>
X-UID: 914
[max at rightworks.com]
> code which works fine with netscape SMTP mail server, fails (hangs) when
> attempting to send mail to a MicroSoft SMTP server. In the
> module following the call to putcmd("data") the data() calls getreply
> and never returns. Does anyone have an idea what is happening here? The
> server seems to work with other clients. thanks max
Try posting a complete executable failing example? If you're not going to
track it down, you need to pass on enough info so someone else can <0.9
wink>. MS SMTP servers in my experience follow the most restrictive
possible reading of the protocol specs, and will just sit there if you e.g.
so much as include an extraneous blank.
Also be clear about which version of Python you're using, and which OS.
smtplib.py has changed a *lot* since 1.5.1 (have you tried 1.5.2?).
upgrading-is-a-cure-for-many-ills-ly y'rs - tim