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
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
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Mail::Internet and attatchments
by Abigail-II (Bishop) on Nov 11, 2003 at 12:04 UTC | |
by stew (Scribe) on Nov 11, 2003 at 14:07 UTC | |
•Re: Mail::Internet and attatchments
by merlyn (Sage) on Nov 11, 2003 at 15:21 UTC | |
Re: Mail::Internet and attatchments
by simonm (Vicar) on Nov 11, 2003 at 21:43 UTC | |
Re: Mail::Internet and attatchments
by zentara (Archbishop) on Nov 11, 2003 at 15:37 UTC | |
Re: Mail::Internet and attatchments
by ysth (Canon) on Nov 11, 2003 at 15:59 UTC |
Back to
Seekers of Perl Wisdom