mailbox_reader is a Python module providing two classes: Mailbox, a file-like object that iterates through the contents of a mailbox, and Email, an object which holds the individual emails returned by Mailbox. This module has been written with simplicity in mind, and low memory consumption.
|Tags||Software Development Libraries Python Modules|
|Operating Systems||OS Independent|
Release Notes: This version renames the base exception. The old name is maintained for backwards compatibility. Exceptions are now bound to the Mailbox_base class. There is an updated usage example catching the exception of the Mailbox object.
Release Notes: This release adds better documentation. A new Parse_error exception is now raised when the opened file is not a Unix mailbox. Reading past the end of the archive now keeps returning None instead of raising uncaught exceptions.
Release Notes: The Mailbox class nows accepts file-like objects, so it can read a mailbox through stdin. This release adds Email.readline_reset(), to allow rereading email contents, and New Email.all_lines(), for those who want the whole message.
Release Notes: Opening a Mailbox object with a wrong file threw a variable name error exception during garbage collection. This has been fixed.
No changes have been submitted for this release.