Bill Fenner added the comment: I've attached a patch against 2.4.3.
The patch does the following: - Factor out the duplication of EHLO/HELO in login() and sendmail() to a new function, ehlo_or_helo_if_needed(). - Use ehlo_or_helo_if_needed() in starttls() - Check for the starttls exception in starttls() in the same way as login() checks for the auth extension. Added file: http://bugs.python.org/file8665/smtplib-startls-ehlo.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1339> __________________________________
smtplib-startls-ehlo.diff
Description: Binary data
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com