mailer
mailer copied to clipboard
SMTP_SSL requires host=None when connecting later.
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.