We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57e6cb6 commit 275c324Copy full SHA for 275c324
1 file changed
Mailman/Queue/OutgoingRunner.py
@@ -147,7 +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
+ conn._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