Skip to content

FIX TLS in SMTP.py#94

Closed
guptajayesh wants to merge 1 commit intomarrow:developfrom
guptajayesh:fix-tls
Closed

FIX TLS in SMTP.py#94
guptajayesh wants to merge 1 commit intomarrow:developfrom
guptajayesh:fix-tls

Conversation

@guptajayesh
Copy link
Copy Markdown

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

@amcgregor
Copy link
Copy Markdown
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