Part of twisted.mail.maildir View Source View In Hierarchy
Implements interfaces: twisted.mail.pop3.IMailbox
| Method | __init__ | Undocumented | 
| Method | listMessages | Retrieve the size of one or more messages. | 
| Method | getMessage | Retrieve a file-like object for a particular message. | 
| Method | getUidl | Get a unique identifier for a particular message. | 
| Method | deleteMessage | Delete a particular message. | 
| Method | undeleteMessages | Undelete any messages which have been marked for deletion since the most
recent synccall. | 
| Method | sync | Perform checkpointing. | 
| Parameters | index | The number of the message for which to retrieve the size (starting at 
0), or None to retrieve the size of all messages.
 (type: intorNone) | 
| Returns | The number of octets in the specified message, or an iterable of 
integers representing the number of octets in all the messages.  Any value 
which would have referred to a deleted message should be set to 0.
 (type: intor any iterable ofintor aDeferredwhich
fires with one of these.
) | |
| Raises | ValueError | if indexis greater than the index of any message in the 
mailbox. | 
| Parameters | index | The number of the message to retrieve
 (type: int) | 
| Returns | A file containing the message data with lines delimited by \n.
 (type: A file-like object
) | |
| Parameters | index | The number of the message for which to retrieve a UIDL
 (type: int) | 
| Returns | A string of printable characters uniquely identifying for all time the 
specified message.
 (type: str) | |
| Raises | ValueError | if indexis greater than the index of any message in the 
mailbox. | 
Delete a particular message.
This must not change the number of messages in this mailbox. Further requests for the size of deleted messages should return 0. Further requests for the message itself may raise an exception.| Parameters | index | The number of the message to delete.
 (type: int) | 
Undelete any messages which have been marked for deletion since the most
recent sync
call.
Perform checkpointing.
This method will be called to indicate the mailbox should attempt to clean up any remaining deleted messages.