No class docstring
Method __init__ Undocumented
Method connectionMade Called when a connection is made.
Method greeting Undocumented
Method extensions SMTP service extensions
Method lookupMethod
Method listExtensions Undocumented
Method do_EHLO Undocumented
Method ext_STARTTLS Undocumented
Method ext_AUTH Undocumented
Method state_AUTH Handle one step of challenge/response authentication.
Method _cbAuthenticated Save the state resulting from a successful cred login and mark this connection as authenticated.
Method _ebAuthenticated Handle cred login errors by translating them to the SMTP authenticate failed. Translate all other errors into a generic SMTP error code and log the failure for inspection. Stop all errors from propagating.

Inherited from TimeoutMixin (via SMTP):

Class Variable timeOut The number of seconds after which to timeout the connection.
Method callLater Wrapper around reactor.callLater for test purpose.
Method resetTimeout Reset the timeout count down.
Method setTimeout Change the timeout period
Method __timedOut Undocumented

Inherited from TimeoutMixin (via SMTP):

Class Variable timeOut The number of seconds after which to timeout the connection.
Method callLater Wrapper around reactor.callLater for test purpose.
Method resetTimeout Reset the timeout count down.
Method setTimeout Change the timeout period
Method __timedOut Undocumented

Inherited from TimeoutMixin (via SMTP):

Class Variable timeOut The number of seconds after which to timeout the connection.
Method callLater Wrapper around reactor.callLater for test purpose.
Method resetTimeout Reset the timeout count down.
Method setTimeout Change the timeout period
Method __timedOut Undocumented

Inherited from TimeoutMixin (via SMTP):

Class Variable timeOut The number of seconds after which to timeout the connection.
Method callLater Wrapper around reactor.callLater for test purpose.
Method resetTimeout Reset the timeout count down.
Method setTimeout Change the timeout period
Method __timedOut Undocumented

Inherited from TimeoutMixin (via SMTP):

Class Variable timeOut The number of seconds after which to timeout the connection.
Method callLater Wrapper around reactor.callLater for test purpose.
Method resetTimeout Reset the timeout count down.
Method setTimeout Change the timeout period
Method __timedOut Undocumented
def __init__(self, chal=None, contextFactory=None): (source)
Undocumented
def connectionMade(self): (source)

Called when a connection is made.

This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.

def greeting(self): (source)
Undocumented
def extensions(self): (source)

SMTP service extensions

Returnsthe SMTP service extensions that are supported. (type: dict with bytes keys and a value of either None or a list of bytes.)
def lookupMethod(self, command): (source)
ParameterscommandThe command to get from this class. (type: str)
ReturnsThe function which executes this command.
def listExtensions(self): (source)
Undocumented
def do_EHLO(self, rest): (source)
Undocumented
def ext_STARTTLS(self, rest): (source)
Undocumented
def ext_AUTH(self, rest): (source)
Undocumented
def _cbAuthenticated(self, loginInfo): (source)

Save the state resulting from a successful cred login and mark this connection as authenticated.

def _ebAuthenticated(self, reason): (source)

Handle cred login errors by translating them to the SMTP authenticate failed. Translate all other errors into a generic SMTP error code and log the failure for inspection. Stop all errors from propagating.

ParametersreasonReason for failure.
def state_AUTH(self, response): (source)

Handle one step of challenge/response authentication.

ParametersresponseThe text of a response. If None, this function has been called as a result of an AUTH command with no initial response. A response of '*' aborts authentication, as per RFC 2554.
API Documentation for Twisted, generated by pydoctor at 2019-08-06 12:10:50.