Home | Trees | Index | Help |
---|
Package twisted :: Package mail :: Module maildir :: Class MaildirMailbox |
|
Mailbox
--+
|
MaildirMailbox
Method Summary | |
---|---|
Initialize with name of the Maildir mailbox | |
Delete a message | |
Return an open file-pointer to a message | |
Return a unique identifier for a message | |
Return a list of lengths of all files in new/ and cur/ | |
sync(self)
(inherited from Mailbox )
| |
Undelete any deleted messages it is possible to undelete |
Method Details |
---|
__init__(self,
path)
Initialize with name of the Maildir mailbox
|
deleteMessage(self, i)Delete a message This only moves a message to the .Trash/ subfolder, so it can be undeleted by an administrator. |
getMessage(self, i)Return an open file-pointer to a message |
getUidl(self, i)Return a unique identifier for a message This is done using the basename of the filename. It is globally unique because this is how Maildirs are designed. |
listMessages(self)Return a list of lengths of all files in new/ and cur/ |
undeleteMessages(self)Undelete any deleted messages it is possible to undelete This moves any messages from .Trash/ subfolder back to their original position, and empties out the deleted dictionary. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Thu May 8 13:16:31 2003 | http://epydoc.sf.net |