Mail::Mbox::MessageParser is a feature-poor but very fast mbox parser. It uses the best of three strategies for parsing a mailbox: either using cached folder information, GNU grep, or highly-optimized Perl.
| Tags | Communications Email |
|---|---|
| Licenses | GPL |
| Operating Systems | OS Independent |
| Implementation | Perl |
Recent releases


Changes: The Cache and Grep implementations now detect when changes have occurred to the file being parsed and automatically revert to the Perl implementation. The reset test was changed so that it doesn't create output with inconsistent line endings in the case of a DOS mailbox. A bug where occasionally the reading of the next email will go into an infinite loop when reading from standard input was fixed. read_next_email now returns undef on end of file.


Changes: A bug where messages with a line near the end that start with "From " would cause the Grep implementation to go into an infinite loop was fixed.


Changes: A bug where the Perl parser would cache incorrect information when emails are incomplete, causing the Cache implementation to go into an infinite loop when it tried to use the invalid information was fixed. The behavior for multi-part emails that lack a valid ending boundaries was improved so that the parser does not return the rest of the mailbox.


Changes: This release fixes a bug where multi-part emails having boundaries containing characters like " " and "+" would cause the remainder of the mailbox to be treated as part of the email with the boundary.


Changes: tzip support has been dropped. An invalid cache is now detected and overwritten. A major memory consumption bug in the Perl implementation has been fixed.