Implements interfaces: twisted.mail.interfaces.IMailboxIMAP, twisted.mail.interfaces.IMailboxIMAPInfo

A mailbox that cannot be closed.

Method __init__ Undocumented
Method getFlags The flags
Method getUIDValidity The UID validity value.
Method getUIDNext The next UID.
Method getMessageCount The number of messages.
Method getRecentCount The recent messages.
Method getUnseenCount The recent messages.
Method isWriteable The recent messages.
Method destroy Destroy this mailbox.
Method getHierarchicalDelimiter Return the hierarchical delimiter.
Method requestStatus Return the mailbox's status.
Method addMessage Add a message to the mailbox.
Method expunge Delete messages marked for deletion.
def __init__(self):
Undocumented
def getFlags(self):

The flags

ReturnsA sequence of flags.
def getUIDValidity(self):

The UID validity value.

ReturnsThe value.
def getUIDNext(self):

The next UID.

ReturnsThe UID.
def getMessageCount(self):

The number of messages.

ReturnsThe number.
def getRecentCount(self):

The recent messages.

ReturnsThe number.
def getUnseenCount(self):

The recent messages.

ReturnsThe number.
def isWriteable(self):

The recent messages.

ReturnsWhether or not the mailbox is writable.
def destroy(self):

Destroy this mailbox.

def getHierarchicalDelimiter(self):

Return the hierarchical delimiter.

ReturnsThe delimiter.
def requestStatus(self, names):

Return the mailbox's status.

ParametersnamesThe status items to include.
ReturnsA dict of status data.
def addMessage(self, message, flags, date=None):

Add a message to the mailbox.

ParametersmessageThe message body.
flagsThe message flags.
dateThe message date.
ReturnsA Deferred that fires when the message has been added.
def expunge(self):

Delete messages marked for deletion.

ReturnsA list of deleted message IDs.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.