[Patches] [ python-Patches-461413 ] Add STARTTLS feature to smtplib

noreply@sourceforge.net noreply@sourceforge.net
Thu, 13 Sep 2001 19:51:50 -0700


Patches item #461413, was opened at 2001-09-13 19:51
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=461413&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gerhard Häring (ghaering)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add STARTTLS feature to smtplib

Initial Comment:
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.

If Pythonlabs people want to try this out,
mail.zope.com seems to support the STARTTLS extension,
and btw. also the CRAM-MD5 method for my recent SMTP
AUTH patch.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=461413&group_id=5470