[issue22216] smtplip STARTTLS fails at second attampt due to unsufficiant quit()

2014-08-30 Thread R. David Murray
R. David Murray added the comment: Thanks, Milan. I could swear I typed a '6' in the commit message, but apparently not... New changeset a058760cb069 by R David Murray in branch '3.4': #22215: have the smtplib 'quit' command reset the state. http://hg.python.org/cpython/rev/a058760cb069 New ch

[issue22216] smtplip STARTTLS fails at second attampt due to unsufficiant quit()

2014-08-18 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue22216] smtplip STARTTLS fails at second attampt due to unsufficiant quit()

2014-08-17 Thread Milan Oberkirch
New submission from Milan Oberkirch: When using smtplib.SMTP to connect to a SMTP server the instance variables esmtp_response survives a SMTP.quit() which results in the following error: >>> import smtplib >>> smtp = smtplib.SMTP('mail.oberkirch.org', 25) >>> smtp.starttls() (220, b'2.0.0 Read