class documentation
class ESMTPManagedRelayerFactory(SMTPManagedRelayerFactory): (source)
Constructor: ESMTPManagedRelayerFactory(messages, manager, secret, contextFactory, ...)
A factory to create an ESMTPManagedRelayer
.
This factory creates a managed relayer which relays a set of messages over ESMTP and informs an attempt manager of its progress.
Method | __init__ |
No summary |
Method | build |
Create an ESMTPManagedRelayer . |
Instance Variable | context |
See __init__ |
Instance Variable | protocol |
A callable which returns a managed relayer for ESMTP. See ESMTPManagedRelayer.__init__ for parameters to the callable. |
Instance Variable | secret |
See __init__ |
Inherited from SMTPManagedRelayerFactory
:
Method | client |
Notify the attempt manager that a connection could not be established. |
Instance Variable | manager |
See __init__ |
Instance Variable | messages |
See __init__ |
Instance Variable | p |
Positional arguments for SMTPClient.__init__ |
Instance Variable | p |
Keyword arguments for SMTPClient.__init__ |
Inherited from ClientFactory
(via SMTPManagedRelayerFactory
):
Method | client |
Called when an established connection is lost. |
Method | started |
Called when a connection has been started. |
Inherited from Factory
(via SMTPManagedRelayerFactory
, ClientFactory
):
Class Method | for |
Create a factory for the given protocol. |
Method | do |
Make sure startFactory is called. |
Method | do |
Make sure stopFactory is called. |
Method | log |
Describe this factory for log messages. |
Method | start |
This will be called before I begin listening on a Port or Connector. |
Method | stop |
This will be called before I stop listening on all Ports/Connectors. |
Class Variable | noisy |
Undocumented |
Instance Variable | num |
Undocumented |
Parameters | |
messages:list of bytes | The base filenames of messages to be relayed. |
manager:_AttemptManager | An attempt manager. |
secret:bytes | A string for the authentication challenge response. |
contextNone or ClientContextFactory | An SSL context factory. |
*args:1-tuple of (0) bytes or 2-tuple of (0) bytes , (1), int | Positional arguments for SMTPClient.__init__ |
**kw | Keyword arguments for SMTPClient.__init__ |
Create an ESMTPManagedRelayer
.
Parameters | |
addr:IAddress provider | The address of the ESMTP server. |
Returns | |
ESMTPManagedRelayer | A managed relayer for ESMTP. |
A callable which returns a managed relayer for ESMTP. See ESMTPManagedRelayer.__init__
for parameters to the callable.