my $folder = new Mail::Box::MH ...
my $message = $folder->message(10);
See SYNOPSIS in Mail::Box::Message
A Mail::Box::Dir::Message
is a base class for one message in a
directory organized folder; each message is stored in a separate file.
There are no objects of type Mail::Box::Dir::Message
, only extensions
are allowed to be created.
At the moment, three of these extended message types are implemented:
- Mail::Box::MH::Message
which represents one message in a Mail::Box::MH folder. MH folders are
very, very simple.... and hence not sophisticated nor fast.
- Mail::Box::Maildir::Message
which represents one message in a Mail::Box::Maildir folder. Flags are
kept in the message's filename. It is stateless, so you will never loose
a message.
- Mail::Box::Netzwert::Message
which represents one message in a Mail::Box::Netzwert folder. As advantage,
it stores pre-parsed information in the message file. As disadvantage: the
code is not GPLed (yet).
See DESCRIPTION in Mail::Box::Message