[New-bugs-announce] [issue35995] logging.handlers.SMTPHandler

lidayan report at bugs.python.org
Thu Feb 14 03:45:46 EST 2019


New submission from lidayan <840286247 at qq.com>:

SSL encrypted socket on SMTPHandler error

Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/handlers.py", line 1008, in emit
    smtp = smtplib.SMTP(self.mailhost, port, timeout=self.timeout)
  File "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/smtplib.py", line 251, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/smtplib.py", line 338, in connect
    (code, msg) = self.getreply()
  File "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/smtplib.py", line 391, in getreply
    + str(e))
smtplib.SMTPServerDisconnected: Connection unexpectedly closed: timed out

----------
components: Library (Lib)
messages: 335511
nosy: lidayan
priority: normal
severity: normal
status: open
title: logging.handlers.SMTPHandler
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35995>
_______________________________________


More information about the New-bugs-announce mailing list