class documentation
class AccountWithoutNamespaces(imap4.MemoryAccountWithoutNamespaces): (source)
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 | _empty |
Undocumented |
Inherited from MemoryAccountWithoutNamespaces
:
Method | __init__ |
Undocumented |
Method | add |
Add a new mailbox to this account |
Method | allocate |
Undocumented |
Method | create |
Create a new mailbox from the given hierarchical name. |
Method | delete |
Delete the mailbox with the specified name. |
Method | is |
Check the subscription status of a mailbox |
Method | list |
List all the mailboxes that meet a certain criteria |
Method | rename |
Rename a mailbox |
Method | subscribe |
Subscribe to a mailbox |
Method | unsubscribe |
Unsubscribe from a mailbox |
Class Variable | top |
Undocumented |
Instance Variable | mailboxes |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | subscriptions |
Undocumented |
Method | _inferior |
Undocumented |
Acquire a mailbox, given its name.
Parameters | |
name:bytes | The mailbox to acquire |
rw:bool | If a true value, request a read-write version of this mailbox. If a false value, request a read-only version. |
Returns | |
Any object implementing IMailboxIMAP or Deferred | 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. |