MIME::Expander::Plugin::MessageRFC822 - a plugin for MIME::Expander
my $expander = MIME::Expander::Plugin::MessageRFC822->new; $expander->expand($part, sub { my $contents = shift; my $metadata = shift || {}; print $metadata->{content_type}, "\n"; print $metadata->{filename}, "\n"; });
Expand data that media type is "message/rfc822".
MIME::Expander::Plugin
Email::MIME
To install MIME::Expander, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MIME::Expander
CPAN shell
perl -MCPAN -e shell install MIME::Expander
For more information on module installation, please visit the detailed CPAN module installation guide.