l.s.m.m.IMailBox(Interface) : interface documentation

Part of lp.services.mail.mailbox View In Hierarchy

No interface docstring
Method open Opens the mail box.
Method items Returns all the ids and mails in the mail box.
Method delete Deletes the mail with the given id.
Method close Closes the mailbox.
def open():
Opens the mail box.

Raises MailBoxError if the mail box can't be opened.

This method has to be called before any operations on the mail box is performed.

def items():
Returns all the ids and mails in the mail box.

Returns an iterable of (id, mail) tuples.

Raises MailBoxError if there's some error while returning the mails.

def delete(id):
Deletes the mail with the given id.

Raises MailBoxError if the mail couldn't be deleted.

def close():
Closes the mailbox.
API Documentation for Launchpad, generated by pydoctor at 2020-01-26 00:00:27.