Email attachments with Perl

Mark Blackman mark at blackmans.org
Tue Oct 2 16:52:18 BST 2012


On 2 Oct 2012, at 15:59, Mark Fowler <mark at twoshortplanks.com> 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.

- Mark


More information about the london.pm mailing list