Module RMail::Mailbox |
|
The RMail::Mailbox module contains a few methods that are useful for working with mailboxes.
Methods |
Classes and Modules |
Public Class methods |
parse_mbox(input, line_separator = $/) {|raw_message| ...} |
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.