twisted.mail.test.test_pop3.DummyMailbox(pop3.Mailbox)
class documentationtwisted.mail.test.test_pop3
(View In Hierarchy)
Known subclasses: twisted.mail.test.test_pop3.AsyncDeferredMailbox, twisted.mail.test.test_pop3.SyncDeferredMailbox
An in-memory pop3.IMailbox
implementation.
Instance Variable | messages | A sequence of bytes
defining the messages in this mailbox. |
Instance Variable | exceptionType | The type of exception to raise when an out-of-bounds index is addressed. |
Method | __init__ | Undocumented |
Method | listMessages | Get some message information. |
Method | getMessage | Get the message content. |
Method | getUidl | Construct a UID which is simply the string representation of the given index. |
Method | deleteMessage | Wipe the message at the given index. |
Inherited from Mailbox:
Method | undeleteMessages | Undelete all messages marked for deletion. |
Method | sync | Discard the contents of any message marked for deletion. |
Get some message information.
Parameters | i | See pop3.IMailbox.listMessages . |
Returns | See pop3.IMailbox.listMessages . |
Get the message content.
Parameters | i | See pop3.IMailbox.getMessage . |
Returns | See pop3.IMailbox.getMessage . |
Construct a UID which is simply the string representation of the given index.
Parameters | i | See pop3.IMailbox.getUidl . |
Returns | See pop3.IMailbox.getUidl . |
Wipe the message at the given index.
Parameters | i | See pop3.IMailbox.deleteMessage . |