t.m.r._AttemptManager(object) : class documentation

Part of twisted.mail.relaymanager View Source View In Hierarchy

Manage the state of a single attempt to flush the relay queue.
Method __init__ Undocumented
Method getCompletionDeferred Undocumented
Method notifySuccess a relay sent a message successfully
Method notifyFailure Relaying the message has failed.
Method notifyDone A relaying SMTP client is disconnected.
Method notifyNoConnection Relaying SMTP client couldn't connect.
Method _finish Undocumented
def __init__(self, manager): (source)
Undocumented
def getCompletionDeferred(self): (source)
Undocumented
def _finish(self, relay, message): (source)
Undocumented
def notifySuccess(self, relay, message): (source)
a relay sent a message successfully

Mark it as sent in our lists

def notifyFailure(self, relay, message): (source)
Relaying the message has failed.
def notifyDone(self, relay): (source)
A relaying SMTP client is disconnected.

unmark all pending messages under this relay's responsibility as being relayed, and remove the relay.

def notifyNoConnection(self, relay): (source)
Relaying SMTP client couldn't connect.

Useful because it tells us our upstream server is unavailable.

API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.