Mail::Exchange::Message::Email - subclass of Mail::Exchange::Message that initializes Email-specific fields
use Mail::Exchange::Message::Email; $mail=Mail::Exchange::Message::Email->new();
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.
$msg=Mail::Exchange::Message::Email->new();
Create a new message object and initialize it to an email.
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 takes an Email::MIME object and returns a Mail::Exchange::Message::Email object.
To install Mail::Exchange::CRC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Exchange::CRC
CPAN shell
perl -MCPAN -e shell install Mail::Exchange::CRC
For more information on module installation, please visit the detailed CPAN module installation guide.