[issue18371] Should be able to specify SSL version for smtplib

2013-07-05 Thread Christian Heimes
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 suppor

[issue18371] Should be able to specify SSL version for smtplib

2013-07-05 Thread YS
New submission from YS: Currently, smtplib is not able to connect to hotmail, giving an SSL version error (at least on some platfroms). See http://stackoverflow.com/q/17434143/429850 and http://stackoverflow.com/q/17011816/429850. Perhaps there should be an option like smtplib.SMTP(ssl_versio