NAME
Mail::Exchange::Message::Email - subclass of Mail::Exchange::Message that initializes Email-specific fields
SYNOPSIS
use Mail::Exchange::Message::Email;
$mail=Mail::Exchange::Message::Email->new();
DESCRIPTION
Mail::Exchange::Message::Email is a utility class derived from Mail::Exchange::Message. When creating a new message object, it sets the Message Class to "IPM.Note" to mark this message as an email object.
new()
$msg=Mail::Exchange::Message::Email->new();
Create a new message object and initialize it to an email.
parse()
The parse() method is overwritten to abort, because the message type will be read from the input file, so a plain Mail::Exchange::Message object should be used in this case.
fromMIME()
fromMIME takes an Email::MIME object and returns a Mail::Exchange::Message::Email object.