commit | bde4ae4bdeb3328fbc744662ecdebfac52b2d5ba | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@mad-scientist.com> | Thu Jan 17 08:35:49 2008 +0000 |
committer | Gregory P. Smith <greg@mad-scientist.com> | Thu Jan 17 08:35:49 2008 +0000 |
tree | 28ac88b9fbaa834fe5e77389edc1f972ce61b178 | |
parent | d59f4572798e473d3ed781a7ef615b0967f5e4c3 [diff] |
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.