mailbox

Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes.

Classes

Babyl(path[, factory, create]) An Rmail-style Babyl mailbox.
BabylMailbox(fp[, factory])
BabylMessage([message]) Message with Babyl-specific properties.
MH(path[, factory, create]) An MH mailbox.
MHMailbox(dirname[, factory])
MHMessage([message]) Message with MH-specific properties.
MMDF(path[, factory, create]) An MMDF mailbox.
MMDFMessage([message]) Message with MMDF-specific properties.
Mailbox(path[, factory, create]) A group of messages in a particular place.
Maildir(dirname[, factory, create]) A qmail-style Maildir mailbox.
MaildirMessage([message]) Message with Maildir-specific properties.
Message([message]) Message with mailbox-format-specific properties.
MmdfMailbox(fp[, factory])
PortableUnixMailbox(fp[, factory])
UnixMailbox(fp[, factory])
mbox(path[, factory, create]) A classic mbox mailbox.
mboxMessage([message]) Message with mbox-specific properties.

Exceptions

Error Raised for module-specific errors.
ExternalClashError Another process caused an action to fail.
FormatError A file appears to have an invalid format.
NoSuchMailboxError The specified mailbox does not exist and won’t be created.
NotEmptyError The specified mailbox is not empty and deletion was requested.