You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
proposed patch for tls wrapped ssl support added to smtplib #42066
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2009-04-25.21:52:52.306>created_at=<Date2005-06-08.21:16:14.000>labels= ['extension-modules', 'type-feature']
title='proposed patch for tls wrapped ssl support added to smtplib'updated_at=<Date2009-04-25.21:52:52.304>user='https://bugs.python.org/pgreenwell'
The current smtplib.py can only do TLS over a standard
port but it does not have support for an ssl wrapped
session which is usually offered on port 465.
I just added a few lines to allow a true ssl socket to
be created instead of a standard one. I also added a
one line function to set this option on.
We have many customers that use clients that can only
do this type of TLS connection. Postfix and Sendmail
and most others allow for this too, and I wanted to be
able to write up some nagios monitoring scripts using
python. This allowed me to do it.
Activity
pgreenwell commentedon Jun 8, 2005
The current smtplib.py can only do TLS over a standard
port but it does not have support for an ssl wrapped
session which is usually offered on port 465.
I just added a few lines to allow a true ssl socket to
be created instead of a standard one. I also added a
one line function to set this option on.
We have many customers that use clients that can only
do this type of TLS connection. Postfix and Sendmail
and most others allow for this too, and I wanted to be
able to write up some nagios monitoring scripts using
python. This allowed me to do it.
janssen commentedon Aug 26, 2007
This probably needs to be re-written with the new SSL support in 2.6.
See bpo-1024.
devdanzin commentedon Apr 25, 2009
Added to trunk around rev58097.