]> granicus.if.org Git - python/commit
SF patch #461413 (Gerhard Häring): Add STARTTLS feature to smtplib
authorGuido van Rossum <guido@python.org>
Fri, 14 Sep 2001 16:08:44 +0000 (16:08 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 14 Sep 2001 16:08:44 +0000 (16:08 +0000)
commitf7fcf5eea62ebaa8e6820806b223c30289212d1a
tree73a1bb68ce10dcec13c1d7e84963c3d1a1d28b43
parent5f5512d246c58aab5a5290a85a8279f4b91021c4
SF patch #461413 (Gerhard Häring): Add STARTTLS feature to smtplib

   This patch adds the features from RFC 2487 (Secure SMTP
   over TLS) to the smtplib module:

   - A starttls() function
   - Wrapper classes that simulate enough of sockets and
     files for smtplib, but really wrap a SSLObject
   - reset the list of known SMTP extensions at each call
     of ehlo(). This should have been the case anyway.
Doc/lib/libsmtplib.tex
Lib/smtplib.py