Home | Trees | Index | Help |
|
---|
Package twisted :: Package protocols :: Module pop3 :: Class IMailbox |
|
Interface
--+
|
IMailbox
Method Summary | |
---|---|
Delete a particular message. | |
A file-like object |
Retrieve a file-like object for a particular message. |
str
|
Get a unique identifier for a particular message. |
int or any iterable of int
|
Retrieve the size of one or more messages. |
Perform checkpointing. | |
Undelete any messages possible. |
Instance Variable Summary | |
---|---|
int |
loginDelay : The number of seconds between allowed logins for the user associated
with this mailbox. |
int |
messageExpiration : The number of days messages in this mailbox will remain on the server
before being deleted. |
Method Details |
---|
deleteMessage(self, index)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.
|
getMessage(self, index)Retrieve a file-like object for a particular message.
|
getUidl(self, index)Get a unique identifier for a particular message.
|
listMessages(self, index=None)Retrieve the size of one or more messages.
|
sync(self)Perform checkpointing. This method will be called to indicate the mailbox should attempt to clean up any remaining deleted messages. |
undeleteMessages(self)Undelete any messages possible. If a message can be deleted it, it should return it its original position in the message sequence and retain the same UIDL. |
Instance Variable Details |
---|
loginDelayThe number of seconds between allowed logins for the user associated with this mailbox. None
|
messageExpirationThe number of days messages in this mailbox will remain on the server before being deleted.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:21 2004 | http://epydoc.sf.net |