Emailing 100+ PDFs, one at a time, to a given address

Glen Barber glen.j.barber at
Fri May 15 03:24:04 UTC 2009

On Thu, May 14, 2009 at 11:20 PM, Kelly Jones
<kelly.terry.jones at> wrote:
> I need to email 100s of PDFs, 1 per email, to a given address.
> What's the easiest way to do this?
> /usr/bin/Mail won't work, since
> PDFs are binary, so I must first BASE64 encode them.
> I could write a Perl script to BASE64 encode them and MIME-wrap them,
> but is there an existing tool for this?

If you can install mail/mutt, you can replace (for the most part)
/usr/bin/mail with /usr/local/bin/mutt and still script it.


Glen Barber

More information about the freebsd-questions mailing list