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

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

Known subclasses: twisted.mail.smtp.ESMTPClientError, twisted.mail.smtp.SMTPConnectError, twisted.mail.smtp.SMTPTimeoutError, twisted.mail.smtp.SMTPProtocolError, twisted.mail.smtp.SMTPDeliveryError

Base class for SMTP client errors.
Line # Kind Name Docs
139 Method __init__
158 Method __str__ Undocumented
def __init__(self, code, resp, log=None, addresses=None, isFatal=False, retry=False):
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.
def __str__(self):
Undocumented