Part of twisted.mail.maildir View Source View In Hierarchy
Method | __init__ | Initialize with name of the Maildir mailbox |
Method | listMessages | Return a list of lengths of all files in new/ and cur/ |
Method | getMessage | Return an open file-pointer to a message |
Method | getUidl | Return a unique identifier for a message |
Method | deleteMessage | Delete a message |
Method | undeleteMessages | Undelete any deleted messages it is possible to undelete |
Method | appendMessage | Appends a message into the mailbox. |
Inherited from Mailbox:
Method | sync | Perform checkpointing. |
This is done using the basename of the filename. It is globally unique because this is how Maildirs are designed.
This only moves a message to the .Trash/ subfolder, so it can be undeleted by an administrator.
This moves any messages from .Trash/ subfolder back to their original position, and empties out the deleted dictionary.