class documentation

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

View In Hierarchy

The server sent a mangled response.

This is considered a fatal error. A retry will not be made.

Method __init__ No summary

Inherited from SMTPClientError:

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=True, retry=False): (source)
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.
addressesUndocumented
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.
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.