Christian Heimes added the comment: As this counts as a new feature it can't be implemented in Python 2.7. Only fixes are applied to 2.7. You have to roll your own subclass that overwrites starttls() or _get_socket(). I'm sorry for the inconvenience.
Starting with Python 3.3 the methods support SSLContext object as argument. http://docs.python.org/3/library/smtplib.html#smtplib.SMTP.starttls ---------- nosy: +christian.heimes, pitrou resolution: -> out of date stage: -> committed/rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18371> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com