This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dwig
Recipients dwig
Date 2008-10-17.20:02:40
SpamBayes Score 0.00017376937
Marked as misclassified No
Message-id <1224273762.79.0.0391835714009.issue4142@psf.upfronthosting.co.za>
In-reply-to
Content
Found on Windows, running Python 2.4.3.

SMTP.login() and SMTP.sendmail set one of the attributes ehlo_resp or
helo_resp to whatever the server responded (only if they're not already
set).

SMTP.quit() doesn't clear these attributes, so on the next connection,
the HELO/EHLO commands won't be sent; this will cause problems with some
servers (MDaemon in my case).  The fix is obvious, and a workaround
would be to clear the attributes in the instance before calling login
(or sendmail where authentication isn't needed).
History
Date User Action Args
2008-10-17 20:02:42dwigsetrecipients: + dwig
2008-10-17 20:02:42dwigsetmessageid: <1224273762.79.0.0391835714009.issue4142@psf.upfronthosting.co.za>
2008-10-17 20:02:42dwiglinkissue4142 messages
2008-10-17 20:02:41dwigcreate