NAME

Mail::MBX - Read MBX mailbox files

SYNOPSIS

use Mail::MBX ();

my $mbx = Mail::MBX->open('mailbox.mbx');

while (my $message = $mbx->message) {
    while ($message->read(my $buf, 4096)) {
        # Do something with the message body
    }
}

$mbx->close;

DESCRIPTION

Mail::MBX provides a reasonable way to read mailboxes in the MBX format, as used by the University of Washington's UW-IMAP reference implementation. At present, only sequential reading is supported, though this is ideal for mailbox format conversion tasks.

OPENING MAILBOXES

AUTHOR

Written by Xan Tronix xan@cpan.org

COPYRIGHT

Copyright (c) 2014 cPanel, Inc. Distributed under the terms of the MIT license.