twisted.mail.relaymanager.SMTPManagedRelayer(ManagedRelayerMixin, relay.SMTPRelayer) class documentationtwisted.mail.relaymanager
View Source
(View In Hierarchy)
An SMTP managed relayer.
This managed relayer is an SMTP client which is responsible for sending a set of messages and keeping an attempt manager informed about its progress.
| Instance Variable | factory | The factory that created this relayer. This must be set by the factory. (type: SMTPManagedRelayerFactory) |
| Method | __init__ |
Inherited from TimeoutMixin (via SMTPRelayer, SMTPClient):
| Class Variable | timeOut | The number of seconds after which to timeout the connection. |
| Method | callLater | Wrapper around reactor.callLater for test purpose. |
| Method | resetTimeout | Reset the timeout count down. |
| Method | setTimeout | Change the timeout period |
| Method | __timedOut | Undocumented |
Inherited from TimeoutMixin (via SMTPRelayer, SMTPClient):
| Class Variable | timeOut | The number of seconds after which to timeout the connection. |
| Method | callLater | Wrapper around reactor.callLater for test purpose. |
| Method | resetTimeout | Reset the timeout count down. |
| Method | setTimeout | Change the timeout period |
| Method | __timedOut | Undocumented |
Inherited from TimeoutMixin (via SMTPRelayer, SMTPClient):
| Class Variable | timeOut | The number of seconds after which to timeout the connection. |
| Method | callLater | Wrapper around reactor.callLater for test purpose. |
| Method | resetTimeout | Reset the timeout count down. |
| Method | setTimeout | Change the timeout period |
| Method | __timedOut | Undocumented |
Inherited from TimeoutMixin (via SMTPRelayer, SMTPClient):
| Class Variable | timeOut | The number of seconds after which to timeout the connection. |
| Method | callLater | Wrapper around reactor.callLater for test purpose. |
| Method | resetTimeout | Reset the timeout count down. |
| Method | setTimeout | Change the timeout period |
| Method | __timedOut | Undocumented |
Inherited from TimeoutMixin (via SMTPRelayer, SMTPClient):
| Class Variable | timeOut | The number of seconds after which to timeout the connection. |
| Method | callLater | Wrapper around reactor.callLater for test purpose. |
| Method | resetTimeout | Reset the timeout count down. |
| Method | setTimeout | Change the timeout period |
| Method | __timedOut | Undocumented |
Inherited from TimeoutMixin (via SMTPRelayer, SMTPClient):
| Class Variable | timeOut | The number of seconds after which to timeout the connection. |
| Method | callLater | Wrapper around reactor.callLater for test purpose. |
| Method | resetTimeout | Reset the timeout count down. |
| Method | setTimeout | Change the timeout period |
| Method | __timedOut | Undocumented |
Inherited from TimeoutMixin (via SMTPRelayer, SMTPClient):
| Class Variable | timeOut | The number of seconds after which to timeout the connection. |
| Method | callLater | Wrapper around reactor.callLater for test purpose. |
| Method | resetTimeout | Reset the timeout count down. |
| Method | setTimeout | Change the timeout period |
| Method | __timedOut | Undocumented |
Inherited from TimeoutMixin (via SMTPRelayer, SMTPClient):
| Class Variable | timeOut | The number of seconds after which to timeout the connection. |
| Method | callLater | Wrapper around reactor.callLater for test purpose. |
| Method | resetTimeout | Reset the timeout count down. |
| Method | setTimeout | Change the timeout period |
| Method | __timedOut | Undocumented |
SMTPManagedRelayerFactory)
| Parameters | messages | The base filenames of messages to be relayed. (type: list
of bytes) |
| manager | An attempt manager. (type: _AttemptManager) | |
| args | Positional arguments for SMTPClient.__init__ (type: 1-tuple
of (0) bytes
or 2-tuple
of (0) bytes,
(1) int) | |
| kw | Keyword arguments for SMTPClient.__init__ (type: dict) |