Stéphane Wirtel <stephane at wirtel.be> added the comment: I propose to create a SMTPSSLHandler class and submit a PR. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue35995> _______________________________________