stranger4good added the comment:
Not in so many words, but yes it does
I cite:
exception SMTPException
Base exception class for all exceptions raised by this
module
...
exception SMTPConnectError
Error occurred during establishment of a connection
with the server.
...
Note the word &quo
New submission from stranger4good:
smtplib.SMTP() raises socket.error rather than SMTPConnectError
just try this on a non-responding address
>>> srv=smtplib.SMTP('192.168.13.22')
Traceback (most recent call last):
File "", line 1, in
File "c:\pyth