New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
smtplib starttls() should ehlo() if it needs to #45680
Comments
smtplib's "complex" methods, login and sendmail, try to EHLO or HELO if starttls seems to me to be similar in nature: why should it not try to |
You'll get more traction on this if you submit a patch. |
I've attached a patch against 2.4.3. The patch does the following:
|
From RFC 2487 section 5.2: "The client MUST discard any knowledge So the starttls() method should probably also be clearing helo_resp and There are servers in the wild that will (a) refuse to talk to you unless |
jamesh, I attached the patch for that to the already-existing bug, filed |
Accepted and applied, with appropriate documentation updates. In svn trunk r60020 for 2.6. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: