Manipulate Message (Mail Message)
See
Mail::Message class
for the mail message object handling. Mail::Message class provides
fundamental methods. Several message handling modules e.g.
Mail::Bounce, Mail::Delivery depend on this class.
Mail::Message Class
A mail consists of one header and one body.
A multipart mail body consists of several parts.
The mail delivery module needs not to know the detail of a message.
But the filter system needs to know the structure of the message.
These modules depend
Mail::Message class
to know the message structure.
For example, Mail::Bounce, Mail::Delivery et.al. use this class.
The usage is as follows:
my $fh = new FileHandle $file;
my $msg = Mail::Message->parse( { fd => $fh } );
use FML::Mailer;
my $obj = new FML::Mailer;
$obj->send( {
sender => $sender,
recipient => $rcpt,
message => $msg,
});
Mail::Message::Parse Class
dummy.
The real functions are within
Mail::Message
class.
Mail::Message::Compose Class
dummy.
This is an adapter for MIME::Lite class.
All requests are forwarded to MIME::Lite class.
See MIME::Lite class for the usage details.
§.message.nl;
§.message.discuss;