-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Fixes smtplib starttls HELO errors #39456
Comments
smtplib.starttls() needs to include does_esmtp=0. Without This bug exists in Python 2.3.2 and earlier. |
Logged In: YES Shouldn't you also reset other state, such as esmtp_features? |
Yes, the state that should be reset includes helo_resp, ehlo_resp, The workaround commonly proposed is to always call ehlo() after starttls() |
I've attached an updated diff, against the 2.4.3 smtplib.py, which forgets |
Fixed in trunk (2.6) r60015. |
and in r60017 on release25-maint for inclusion in 2.5.2. |
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: