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 cmcginty
Recipients cmcginty
Date 2009-07-30.20:18:00
SpamBayes Score 0.0028234266
Marked as misclassified No
Message-id <1248985082.82.0.727591290783.issue6605@psf.upfronthosting.co.za>
In-reply-to
Content
The smtplib.SMTP.quit() method does not reset the 'helo_resp' and
'ehlo_resp' instance attributes. During the next
smtplib.SMTP.sendmail(), the HELO/EHLO commands are not sent, and may
cause the remote SMTP service to reject the message, due to improper
protocol handshaking.

To fix, self.helo_resp and self.ehlo_resp should be set to 'None' in the
smtplib.SMTP.quit() method.
History
Date User Action Args
2009-07-30 20:18:02cmcgintysetrecipients: + cmcginty
2009-07-30 20:18:02cmcgintysetmessageid: <1248985082.82.0.727591290783.issue6605@psf.upfronthosting.co.za>
2009-07-30 20:18:01cmcgintylinkissue6605 messages
2009-07-30 20:18:00cmcgintycreate