marrow / mailer

A light-weight, modular, message representation and mail delivery framework for Python.
MIT License
279 stars 62 forks source link

SMTP_SSL requires host=None when connecting later. #104

Open seventhridge opened 9 months ago

seventhridge commented 9 months ago

There is an apparent bug in SMTP_SSL that defaults host to empty string.

Setting host explicitly to None makes it very clear in the code that omitting the host is deliberate anyway. But it also works around the bug in the Python upstream.