Home | Trees | Index | Help |
|
---|
Package twisted :: Package protocols :: Module imap4 :: Class IMailbox |
|
Interface
--+ |IMailboxInfo
--+ | 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. |
Any iterable of two-tuples of message sequence numbers and
implementors of IMessage .
|
Retrieve one or more messages. |
int
|
Return the number of messages in this mailbox. |
int
|
Return the number of messages with the 'Recent' flag. |
int
|
Return the UID of a message in the mailbox |
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. |
dict or Deferred
|
Set the flags of one or more messages. |
Inherited from IMailboxInfo | |
list of str
|
Return the flags defined in this mailbox |
str
|
Get the character which delimits namespaces for in this mailbox. |
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, uid)Retrieve one or more messages.
|
getMessageCount(self)Return the number of messages in this mailbox.
|
getRecentCount(self)Return the number of messages with the 'Recent' flag.
|
getUID(self, message)Return the UID of a message in the mailbox
|
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. Mailboxes which do not intend to do any special processing to generate the return value,statusRequestHelper can be used
to build the dictionary by calling the other interface methods which
return the data for each name.
|
store(self, messages, flags, mode, uid)Set the flags of one or more messages.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:47 2004 | http://epydoc.sf.net |