Part of twisted.mail.protocols View Source View In Hierarchy
Known subclasses: twisted.mail.protocols.ESMTPFactory
Instance Variable | service | See __init__ |
Instance Variable | portal | See __init__ |
Instance Variable | protocol | A callable which creates a protocol. The default value is SMTP . (type: no-argument callable which returns a Protocol subclass) |
Method | __init__ | |
Method | buildProtocol | Create an instance of an SMTP server protocol. |
Inherited from Factory (via SMTPFactory, ServerFactory):
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. |
SMTP
. (type: no-argument callable which returns a Protocol
subclass)
Parameters | service | An email service. (type: MailService ) |
portal | A portal to use for authentication. (type: Portal or NoneType ) |