# ``twisted`.`mail`.`smtp`.`SMTPTimeoutError``

class documentation

`class SMTPTimeoutError(SMTPClientError): (source)`

View In Hierarchy

Failed to receive a response from the server in the expected time period.

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

Method | `__init__` | No summary

Inherited from `SMTPClientError`:

Method | `__bytes__` | Undocumented
Method | `__str__` | Undocumented
Instance Variable | `addresses` | Undocumented
Instance Variable | `code` | Undocumented
Instance Variable | `isFatal` | Undocumented
Instance Variable | `log` | Undocumented
Instance Variable | `resp` | Undocumented
Instance Variable | `retry` | Undocumented

def __init__(self, code, resp, log=None, addresses=None, isFatal=True, retry=True): (source)
overrides `twisted.mail.smtp.SMTPClientError.__init__`

Parameters
code | The SMTP response code associated with this error.
resp | The string response associated with this error.
log | A string log of the exchange leading up to and including the error.
addresses | Undocumented
isFatal | A boolean indicating whether this connection can proceed or not. If True, the connection will be dropped.
retry | A 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.