Split attachment from email

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am using getmail to download my emails from account service mail.
These emails have an attachment and I wanna know if it is posible with
Perl split the attachment to send to another directory.
I need to split because this attachment will be procesed to send the
information to database.
Any idea or any cluess will be so appreciated


Edwin Quijada

Re: Split attachment from email

On 2011-01-04, macaruchi scribbled these curious markings:
Quoted text here. Click to load it

Pass the raw RFC 822^W2822^W5322 message to the Email::MIME constructor
and then look at its ->parts method to get access to the attachments.
The rest should follow simply.

Thanks and best regards,
Chris Nehren

Site Timeline