class twisted.mail.protocols.ESMTPFactory(SMTPFactory): (source)
An ESMTP server protocol factory.
Instance Variable | protocol | A callable which creates a protocol. The default value is ESMTP . |
Instance Variable | context | A factory to generate contexts to be used in negotiating encrypted communication. |
Instance Variable | challengers | A mapping of acceptable authorization mechanism to callable which creates credentials to use for authentication. |
Method | __init__ | |
Method | buildProtocol | Create an instance of an ESMTP server protocol. |
Inherited from SMTPFactory:
Instance Variable | service | See __init__ |
Instance Variable | portal | See __init__ |
Inherited from SMTPFactory (via SMTPFactory):
Class Variable | timeout | Undocumented |
Inherited from Factory (via SMTPFactory, SMTPFactory, ServerFactory):
Instance Variable | numPorts | Undocumented |
Class Variable | noisy | Undocumented |
Class Method | forProtocol | Create a factory for the given protocol. |
Method | logPrefix | Describe this factory for log messages. |
Method | doStart | Make sure startFactory is called. |
Method | doStop | Make sure stopFactory is called. |
Method | startFactory | This will be called before I begin listening on a Port or Connector. |
Method | stopFactory | This will be called before I stop listening on all Ports/Connectors. |
IOpenSSLContextFactory
or None
)
dict
mapping bytes
to no-argument callable which returns ICredentials
subclass provider.)
Parameters | args | Arguments for SMTPFactory.__init__ |
See Also | SMTPFactory.__init__ |