python-emails
python-emails copied to clipboard
Quit SMTP connection on failed login
This is a slight improvement to the SMTPClient. Currently the client does not gracefully quit the connection when authentication fails. While the socket is eventually closed on GC, this could be done earlier by explicitly quitting.
(Found while testing python-emails in RosettaTest)