We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f10af0c commit 57e6cb6Copy full SHA for 57e6cb6
1 file changed
Mailman/Queue/OutgoingRunner.py
@@ -147,6 +147,7 @@ def _get_smtp_connection(self):
147
"""Get a new SMTP connection with proper configuration."""
148
try:
149
conn = smtplib.SMTP()
150
+ smtp._host = mm_cfg.SMTPHOST # workaround https://github.com/python/cpython/issues/80275
151
conn.set_debuglevel(mm_cfg.SMTPLIB_DEBUG_LEVEL)
152
conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT)
153
0 commit comments