class documentation

class twisted.mail.smtp.SMTPClientError(SMTPError): (source)

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

View In Hierarchy

Base class for SMTP client errors.

Method __init__ No summary
Instance Variable code Undocumented
Instance Variable resp Undocumented
Instance Variable log Undocumented
Instance Variable addresses Undocumented
Instance Variable isFatal Undocumented
Instance Variable retry Undocumented
Method __str__ Undocumented
Method __bytes__ Undocumented
def __init__(self, code, resp, log=None, addresses=None, isFatal=False, retry=False): (source)
ParameterscodeThe SMTP response code associated with this error. (type: int)
respThe string response associated with this error. (type: bytes)
logA string log of the exchange leading up to and including the error. (type: Optional[bytes])
addressesUndocumented (type: Optional[object])
isFatalA boolean indicating whether this connection can proceed or not. If True, the connection will be dropped. (type: bool)
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. (type: bool)
code = (source)

Undocumented

resp = (source)

Undocumented

Undocumented

addresses = (source)

Undocumented

isFatal = (source)

Undocumented

retry = (source)

Undocumented

def __str__(self): (source)

Undocumented

ReturnsUndocumented (type: str)
def __bytes__(self): (source)

Undocumented

ReturnsUndocumented (type: bytes)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.