Home | Trees | Index | Help |
---|
Package twisted :: Package protocols :: Module imap4 :: Class IMailbox |
|
NonMetaInterface
--+
|
IMailbox
Method Summary | |
---|---|
Add a mailbox change listener | |
Deferred
|
Add the given message to this mailbox. |
Called before this mailbox is deleted, permanently. | |
list or Deferred
|
Remove all messages flagged \Deleted. |
dict or Deferred
|
Retrieve one or more portions of one or more messages. |
list of str
|
Return the flags defined in this mailbox |
str
|
Get the character which delimits namespaces for in this mailbox. |
int
|
Return the number of messages in this mailbox. |
int
|
Return the number of messages with the 'Recent' flag. |
int
|
Return the likely UID for the next message added to this mailbox. |
int
|
Return the unique validity identifier for this mailbox. |
int
|
Return the number of messages with the 'Unseen' flag. |
int
|
Get the read/write status of the mailbox. |
Remove a mailbox change listener | |
dict or Deferred
|
Return status information about this mailbox. |
list or Deferred
|
Search for messages that meet the given query criteria. |
dict or Deferred
|
Set the flags of one or more messages. |
Method Details |
---|
addListener(self, listener)Add a mailbox change listener
|
addMessage(self, message, flags=(), date=None)Add the given message to this mailbox.
|
destroy(self)Called before this mailbox is deleted, permanently. If necessary, all resources held by this mailbox should be cleaned up here. This function _must_ set the \Noselect flag on this mailbox. |
expunge(self)Remove all messages flagged \Deleted.
|
fetch(self, messages, parts, uid)Retrieve one or more portions of one or more messages.
|
getFlags(self)Return the flags defined in this mailbox Flags with the \ prefix are reserved for use as system flags.
|
getHierarchicalDelimiter(self)Get the character which delimits namespaces for in this mailbox.
|
getMessageCount(self)Return the number of messages in this mailbox.
|
getRecentCount(self)Return the number of messages with the 'Recent' flag.
|
getUIDNext(self)Return the likely UID for the next message added to this mailbox.
|
getUIDValidity(self)Return the unique validity identifier for this mailbox.
|
getUnseenCount(self)Return the number of messages with the 'Unseen' flag.
|
isWriteable(self)Get the read/write status of the mailbox.
|
removeListener(self, listener)Remove a mailbox change listener
|
requestStatus(self, names)Return status information about this mailbox.
|
search(self, query, uid)Search for messages that meet the given query criteria.
|
store(self, messages, flags, mode, uid)Set the flags of one or more messages.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:45:48 2003 | http://epydoc.sf.net |