twisted.mail.test.test_imap.AccountWithoutNamespaces(imap4.MemoryAccountWithoutNamespaces)
class documentationtwisted.mail.test.test_imap
(View In Hierarchy)
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 |
Acquire a mailbox, given its name.
Parameters | name | The mailbox to acquire (type: bytes ) |
rw | If a true value, request a read-write version of this mailbox. If a false
value, request a read-only version. (type: bool ) | |
Returns | The 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 ) |