SUMMARY : Script to send e-mail with attached files

From: Daniel Clar (Daniel.Clar@supelec.fr)
Date: Mon Oct 28 2002 - 12:12:58 EST


The original posting was :

> Hello,
>
> Is there a way to write a script which is able to send an e-mail with
an
> included binary file ( a .zip by example) given as parameter ?
>
> It seems that mailx is not able to do that but perharps I'm wrong.
>
> Regards
>
> Daniel Clar
> Computer Operations Manager
> Supelec
> France
>

The answers came so quickly and in particular the first one giving the
solution....

Daniel, 'mutt' does this. (www.mutt.org)

Something like:

    echo "hi there" | mutt -s $subject -a /path/to/attachment
who@where.com

Maybe others can do it too, but mutt is what I use.

-- 
-- Paul A. Sand pas@unh.edu  
Thank you also to :
Peter.Stern@weizmann.ac.il
Jonathan Williams [jonathw@shubertorg.com]
Kraft, Wolfram [Wolfram.Kraft@de.bp.com]
bryan.mills@lynx.co.uk
jay nash [mgn321@yahoo.com]
Oisin McGuinness [oisin@sbcm.com]
Thanks
Daniel


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:57 EDT