t.m.r.Queue : class documentation

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

A queue of ougoing emails.
Method __init__ Undocumented
Method __getstate__ (internal) delete volatile state
Method __setstate__ (internal) restore volatile state
Method readDirectory Read the messages directory.
Method getWaiting Undocumented
Method hasWaiting Undocumented
Method getRelayed Undocumented
Method setRelaying Undocumented
Method setWaiting Undocumented
Method addMessage Undocumented
Method done Remove message to from queue.
Method getPath Get the path in the filesystem of a message.
Method getEnvelope Undocumented
Method getEnvelopeFile Undocumented
Method createNewMessage Create a new message in the queue.
Method _init Undocumented
def __init__(self, directory): (source)
Undocumented
def _init(self): (source)
Undocumented
def __getstate__(self): (source)
(internal) delete volatile state
def __setstate__(self, state): (source)
(internal) restore volatile state
def readDirectory(self): (source)
Read the messages directory.

look for new messages.

def getWaiting(self): (source)
Undocumented
def hasWaiting(self): (source)
Undocumented
def getRelayed(self): (source)
Undocumented
def setRelaying(self, message): (source)
Undocumented
def setWaiting(self, message): (source)
Undocumented
def addMessage(self, message): (source)
Undocumented
def done(self, message): (source)
Remove message to from queue.
def getPath(self, message): (source)
Get the path in the filesystem of a message.
def getEnvelope(self, message): (source)
Undocumented
def getEnvelopeFile(self, message): (source)
Undocumented
def createNewMessage(self): (source)
Create a new message in the queue.

Return a tuple - file-like object for headers, and ISMTPMessage.

API Documentation for Twisted, generated by pydoctor at 2012-06-04 17:20:01.