class documentation
class SMTPFactory(smtp.SMTPFactory): (source)
Known subclasses: twisted.mail.protocols.ESMTPFactory
Constructor: SMTPFactory(service, portal)
An SMTP server protocol factory.
| Method | __init__ |
No summary |
| Method | build |
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 | 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 |
overrides
twisted.mail.smtp.SMTPFactory.__init__overridden in
twisted.mail.protocols.ESMTPFactory| Parameters | |
service:MailService | An email service. |
portal:Portal or None | A portal to use for authentication. |
overridden in
twisted.mail.protocols.ESMTPFactoryA callable which creates a protocol. The default value is SMTP.