Part of twisted.mail.maildir View Source View In Hierarchy
Instance Variable | msgs | See __init__ . |
Method | __init__ | |
Method | listMessages | Retrieve the size of a message, or, if none is specified, the size of each message in the mailbox. |
Method | getMessage | Return an in-memory file-like object with the contents of a message. |
Method | getUidl | Get a unique identifier for a message. |
Method | deleteMessage | Mark a message for deletion. |
Method | undeleteMessages | Undelete any messages which have been marked for deletion. |
Method | sync | Discard the contents of any messages marked for deletion. |
Instance Variable | _delete | The indices of messages which have been marked for deletion. (type: set
of int ) |
Parameters | i | The 0-based index of a message. (type: int
or NoneType ) |
Returns | The number of octets in the specified message, or, if an index is not
specified, a list of the number of octets in each message in the mailbox.
Any value which corresponds to a deleted message is set to 0. (type: int
or list
of int ) | |
Raises | IndexError | When the index does not correspond to a message in the mailbox. |