Sending mail with attachments from a shell script
david at cantrell.org.uk
Thu Jun 8 15:02:15 BST 2006
On Thu, Jun 08, 2006 at 01:53:54PM +0000, the hatter wrote:
> On Thu, 8 Jun 2006, David Cantrell wrote:
> > mutt -a isn't appropriate. Nor is perl.
> I'm curious as to mhy mutt isn't an appropriate tool - is it some sort of
> allergy to mutt (try antihistamines) or is pine -attach(list) ruled out
> for some similar reason.
I ruled out mutt because the script is running from a cronjob, and there
are things in my .muttrc which aren't available to cron jobs, and so
mutt still works but whinges to STDERR. I'd not considered pine. I try
not to usually.
I ended up using nail, which is fabulous.
David Cantrell | Reality Engineer, Ministry of Information
THIS IS THE LANGUAGE POLICE
PUT DOWN YOUR THESAURUS
STEP AWAY FROM THE CLICHE
More information about the london.pm