[issue35995] use SSL encrypted socket on logging.handlers.SMTPHandler

Julien Palard report at bugs.python.org
Thu Feb 14 07:43:20 EST 2019


Julien Palard <julien+python at palard.fr> added the comment:

@lidayan, if you're trying implicit TLS, have you tried giving a username an an empty tuple to the secure parameter?

It looks like the empty tuple means "implicit TLS", see the docstring https://github.com/python/cpython/blob/7fea5ad9f081247927bc851605f3a6269cbcd84d/Lib/logging/handlers.py#L959

----------

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


More information about the Python-bugs-list mailing list