Known subclasses: twisted.mail.test.test_imap.Account

An in-memory account that does not provide INamespacePresenter.

Method select Acquire a mailbox, given its name.
Method _emptyMailbox Undocumented

Inherited from MemoryAccountWithoutNamespaces:

Method __init__ 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 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 _inferiorNames Undocumented
def _emptyMailbox(self, name, id):
def select(self, name, rw=1):

Acquire a mailbox, given its name.

ParametersnameThe mailbox to acquire (type: bytes)
rwIf a true value, request a read-write version of this mailbox. If a false value, request a read-only version. (type: bool)
ReturnsThe mailbox object, or a Deferred whose callback will be invoked with the mailbox object. None may be returned if the specified mailbox may not be selected for any reason. (type: Any object implementing IMailboxIMAP or Deferred)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.