]> granicus.if.org Git - python/commit
Fixes (accepts patch) issue1339 - http://bugs.python.org/issue1339
authorGregory P. Smith <greg@mad-scientist.com>
Thu, 17 Jan 2008 08:35:49 +0000 (08:35 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Thu, 17 Jan 2008 08:35:49 +0000 (08:35 +0000)
commitbde4ae4bdeb3328fbc744662ecdebfac52b2d5ba
tree28ac88b9fbaa834fe5e77389edc1f972ce61b178
parentd59f4572798e473d3ed781a7ef615b0967f5e4c3
Fixes (accepts patch) issue1339 - http://bugs.python.org/issue1339
- 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 starttls() in the same way as
  login() checks for the auth extension.
Contributed by Bill Fenner.
Doc/library/smtplib.rst
Lib/smtplib.py
Misc/NEWS