Module RMail::Mailbox
In: lib/rmail/mailbox/mboxreader.rb
lib/rmail/mailbox.rb

The RMail::Mailbox module contains a few methods that are useful for working with mailboxes.

Methods

Classes and Modules

Class RMail::Mailbox::MBoxReader

Public Class methods

Parse a Unix mbox style mailbox. These mailboxes searate individual messages with a line beginning with the string "From ".

If a block is given, yields to the block with the raw message (a string), otherwise an array of raw message strings is returned.

[Validate]