An ESMTP server protocol factory.

Instance Variable protocol A callable which creates a protocol. The default value is ESMTP. (type: no-argument callable which returns a Protocol subclass)
Instance Variable context A factory to generate contexts to be used in negotiating encrypted communication. (type: ContextFactory or NoneType)
Instance Variable challengers A mapping of acceptable authorization mechanism to callable which creates credentials to use for authentication. (type: dict mapping bytes to no-argument callable which returns ICredentials subclass provider.)
Method __init__
Method buildProtocol Create an instance of an ESMTP server protocol.

Inherited from Factory (via SMTPFactory, 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.

Inherited from Factory (via SMTPFactory, 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.
protocol =
A callable which creates a protocol. The default value is ESMTP. (type: no-argument callable which returns a Protocol subclass)
context =
A factory to generate contexts to be used in negotiating encrypted communication. (type: ContextFactory or NoneType)
challengers =
A mapping of acceptable authorization mechanism to callable which creates credentials to use for authentication. (type: dict mapping bytes to no-argument callable which returns ICredentials subclass provider.)
def __init__(self, *args): (source)
def buildProtocol(self, addr): (source)

Create an instance of an ESMTP server protocol.

ParametersaddrThe address of the ESMTP client. (type: IAddress provider)
ReturnsAn ESMTP protocol. (type: ESMTP)
API Documentation for Twisted, generated by pydoctor at 2016-05-18 16:01:36.