Known subclasses: twisted.mail.protocols.DomainESMTP

No class docstring
Method __init__ Undocumented
Method connectionMade Called when a connection is made.
Method greeting Undocumented
Method extensions Undocumented
Method lookupMethod Undocumented
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)
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)
Undocumented
def lookupMethod(self, command): (source)
Undocumented
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.

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 2016-04-04 15:02:49.