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