class SMTPFactory(smtp.SMTPFactory): (source)
Known subclasses: twisted.mail.protocols.ESMTPFactory
Method | __init__ |
|
Method | buildProtocol |
Create an instance of an SMTP server protocol. |
Instance Variable | portal |
See __init__ |
Instance Variable | protocol |
A callable which creates a protocol. The default value is SMTP . |
Instance Variable | service |
See __init__ |
Inherited from SMTPFactory
:
Class Variable | timeout |
Undocumented |
Inherited from Factory
(via SMTPFactory
, ServerFactory
):
Class Method | forProtocol |
Create a factory for the given protocol. |
Method | doStart |
Make sure startFactory is called. |
Method | doStop |
Make sure stopFactory is called. |
Method | logPrefix |
Describe this factory for log messages. |
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. |
Class Variable | noisy |
Undocumented |
Instance Variable | numPorts |
Undocumented |
twisted.mail.smtp.SMTPFactory.__init__
twisted.mail.protocols.ESMTPFactory
Parameters | |
service:MailService | An email service. |
portal:Portal or None | A portal to use for authentication. |
twisted.mail.protocols.ESMTPFactory
SMTP
.