Skip to content
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

FIX TLS in SMTP.py #94

Closed
wants to merge 1 commit into from
Closed

Conversation

guptajayesh
Copy link

Added Syntax for TLS host = self.host in TLS SSL Mode for SMTP Connection, Fixes Issues when Using SSL in SMTP

@amcgregor
Copy link
Member

Rejected for the same reason as the other PR attempting to correct this in this way: this is the most "hack and slash" way possible to correct the problem, which is an underlying problem "up-stream" in Python's standard library. This is a bug with Python, not with Marrow Mailer. This correction, as mentioned previously, suffers the additional deficit (and feature removal) of being able to set diagnostic logging level prior to the connection attempt. If a hostname is provided early, the connection is initiated within __init__, prior to any opportunity to enable diagnostic logging, which is unacceptable.

@amcgregor amcgregor closed this Oct 1, 2020
@amcgregor amcgregor added the meta:rejected This does not seem right and/or will not be worked on. label Oct 1, 2020
@amcgregor amcgregor linked an issue Oct 1, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta:rejected This does not seem right and/or will not be worked on. transport:smtp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SMTP regression and failure during TLS negotiation under Python 3.7.
2 participants