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 kxroberto
Recipients BreamoreBoy, hwundram, kxroberto
Date 2010-08-23.10:30:12
SpamBayes Score 2.5472962e-05
Marked as misclassified No
Message-id <1282559414.08.0.277394200697.issue1481032@psf.upfronthosting.co.za>
In-reply-to
Content
still I think all 3 self.rset()'s in SMTP.sendmail, which are followed by a raise <someerror> statement have to be bracketed with an except clause or so - nowadays better like """
try: self.res()
except (EnvironmentError, SMTPException):
    pass
""",  as all socket.error, sslerror seem meanwhile correctly inherited (via IOError).

Because the original error must pop up, not a side effect of state cleaning!
History
Date User Action Args
2010-08-23 10:30:14kxrobertosetrecipients: + kxroberto, hwundram, BreamoreBoy
2010-08-23 10:30:14kxrobertosetmessageid: <1282559414.08.0.277394200697.issue1481032@psf.upfronthosting.co.za>
2010-08-23 10:30:12kxrobertolinkissue1481032 messages
2010-08-23 10:30:12kxrobertocreate