[londonperl] Sending mail with attachments from a shell script

David Alban extasia at extasia.org
Thu Jun 8 17:09:12 BST 2006

I don't know whether you need a mime compliant email, or whether you
just have to get the attachments there somehow.  If the latter, why
not tar the attachments together, either uuencode or mimencode the
results and (as someone else mentioned mailx) use mailx with the
encoded file being stdin?

On 6/8/06, David Cantrell <david at cantrell.org.uk> wrote:
> I need to send an email, with an attachment, from a shell script.  Any
> suggestions?
> mutt -a isn't appropriate.  Nor is perl.

Live in a world of your own, but always welcome visitors.

More information about the london.pm mailing list