[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: Accepted and applied, with appropriate documentation updates. In svn trunk r60020 for 2.6. -- resolution: -> accepted status: open -> closed versions: +Python 2.5, Python 2.6 __ Tracker <[EMAIL PROTECTED]>

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- assignee: -> gregory.p.smith __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- nosy: +gregory.p.smith __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-16 Thread Bill Fenner
Bill Fenner added the comment: jamesh, I attached the patch for that to the already-existing bug, filed in 2003: http://bugs.python.org/issue829951 __ Tracker <[EMAIL PROTECTED]> __ __

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-15 Thread Jesús Cea Avión
Changes by Jesús Cea Avión: -- nosy: +jcea __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-12 Thread James Henstridge
James Henstridge added the comment: >From RFC 2487 section 5.2: "The client MUST discard any knowledge obtained from the server, such as the list of SMTP service extensions, which was not obtained from the TLS negotiation itself. The client SHOULD send an EHLO command as the first command after a

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1339] smtplib starttls() should ehlo() if it needs to

2007-10-30 Thread Bill Fenner
Bill Fenner added the comment: I've attached a patch against 2.4.3. The patch does the following: - Factor out the duplication of EHLO/HELO in login() and sendmail() to a new function, ehlo_or_helo_if_needed(). - Use ehlo_or_helo_if_needed() in starttls() - Check for the starttls exception in s

[issue1339] smtplib starttls() should ehlo() if it needs to

2007-10-29 Thread Guido van Rossum
Guido van Rossum added the comment: You'll get more traction on this if you submit a patch. -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __ _

[issue1339] smtplib starttls() should ehlo() if it needs to

2007-10-26 Thread Bill Fenner
New submission from Bill Fenner: smtplib's "complex" methods, login and sendmail, try to EHLO or HELO if it hasn't been done yet. login also checks to see if the EHLO response included the ability to do authorization. starttls seems to me to be similar in nature: why should it not try to EHL