Class t.m.s.SMTPConnectError(SMTPClientError):

Part of twisted.mail.smtp View Source View In Hierarchy

Failed to connect to the mail exchange host.

This is considered a fatal error. A retry will be made.
Line # Kind Name Docs
226 Method __init__

Inherited from SMTPClientError:

Line # Kind Name Docs
158 Method __str__ Undocumented
def __init__(self, code, resp, log=None, addresses=None, isFatal=True, retry=True):
ParameterscodeThe SMTP response code associated with this error.
respThe string response associated with this error.
logA string log of the exchange leading up to and including the error.
isFatalA boolean indicating whether this connection can proceed or not. If True, the connection will be dropped.
retryA boolean indicating whether the delivery should be retried. If True and the factory indicates further retries are desirable, they will be attempted, otherwise the delivery will be failed.