http://www.perlmonks.org?node_id=306167

stew has asked for the wisdom of the Perl Monks concerning the following question:

Hi there,
I have a support logging script that handles in-bound emails, logs them in a database and sends notifications to various recipients.
I'm using Mail::Internet to carve up a message on STDIN thus
$message = new Mail::Internet \*STDIN; $who_from = $message->head->get("From"); $sent = $message->head->get("Date"); $subject = $message->head->get("Subject"); $content = join('',@{$message->body} );

This works perfect apart from PHB now requires the system to handle attachments. To be honest I'm quite stumped as to what happens to any attachments. I've scouerd CPAN and this site to no avail.

As always, any advice most welcome, especially if anybody knows of another mod that will deal with attachments.

Cheers Stew