Email attachments with Perl

Mark Blackman mark at
Tue Oct 2 17:07:58 BST 2012

On 2 Oct 2012, at 16:52, Mark Blackman <mark at> wrote:

> On 2 Oct 2012, at 15:59, Mark Fowler <mark at> wrote:
>> So my wireless scanner/printer doohicky can send its scans to an email address as a PDF attachment.  These are currently piling up in a custom google mail account I have for this purpose. 
>> I want to automatically download the PDFs to my mac with a Perl script that I'll trigger periodically from launchd.
>> What are the cool kids using do to this now?  Net::*?  Email::*?  Courriel?  Something else?
> I've got a feeling a combination of fetchmail  and something like metamail/mimedecode will
> be less work overall.

I seem to be showing my age and munpack seems more suited to that job than mimedecode now.

- Mark

More information about the mailing list