Skip to content

Commit 275c324

Browse files
committed
fix smtp issue
1 parent 57e6cb6 commit 275c324

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mailman/Queue/OutgoingRunner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def _get_smtp_connection(self):
147147
"""Get a new SMTP connection with proper configuration."""
148148
try:
149149
conn = smtplib.SMTP()
150-
smtp._host = mm_cfg.SMTPHOST # workaround https://github.com/python/cpython/issues/80275
150+
conn._host = mm_cfg.SMTPHOST # workaround https://github.com/python/cpython/issues/80275
151151
conn.set_debuglevel(mm_cfg.SMTPLIB_DEBUG_LEVEL)
152152
conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT)
153153

0 commit comments

Comments
 (0)