class documentation

class twisted.mail.imap4.MemoryAccount(MemoryAccountWithoutNamespaces): (source)

Implements interfaces: twisted.mail.interfaces.INamespacePresenter

View In Hierarchy

Undocumented

Method getPersonalNamespaces Report the available personal namespaces.
Method getSharedNamespaces Report the available shared namespaces.
Method getOtherNamespaces Undocumented
Method getUserNamespaces Report the available user namespaces.

Inherited from MemoryAccountWithoutNamespaces:

Instance Variable mailboxes Undocumented
Instance Variable subscriptions Undocumented
Class Variable top_id Undocumented
Method __init__ Undocumented
Instance Variable name Undocumented
Method allocateID Undocumented
Method addMailbox Add a new mailbox to this account
Method create Create a new mailbox from the given hierarchical name.
Method select Acquire a mailbox, given its name.
Method delete Delete the mailbox with the specified name.
Method rename Rename a mailbox
Method isSubscribed Check the subscription status of a mailbox
Method subscribe Subscribe to a mailbox
Method unsubscribe Unsubscribe from a mailbox
Method listMailboxes List all the mailboxes that meet a certain criteria
Method _emptyMailbox Undocumented
Method _inferiorNames Undocumented
def getPersonalNamespaces(self): (source)

Report the available personal namespaces.

Typically there should be only one personal namespace. A common name for it is "", and its hierarchical delimiter is usually "/".

ReturnsThe personal namespaces and their hierarchical delimiters. If no namespaces of this type exist, None should be returned. (type: iterable of two-tuples of strings)
def getSharedNamespaces(self): (source)

Report the available shared namespaces.

Shared namespaces do not belong to any individual user but are usually to one or more of them. Examples of shared namespaces might be "#news" for a usenet gateway.

ReturnsThe shared namespaces and their hierarchical delimiters. If no namespaces of this type exist, None should be returned. (type: iterable of two-tuples of strings)
def getOtherNamespaces(self): (source)

Undocumented

def getUserNamespaces(self): (source)

Report the available user namespaces.

These are namespaces that contain folders belonging to other users access to which this account has been granted.

ReturnsThe user namespaces and their hierarchical delimiters. If no namespaces of this type exist, None should be returned. (type: iterable of two-tuples of strings)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.