SUMMARY : Script to send e-mail with attached files

From: Daniel Clar <Daniel.Clar_at_supelec.fr>
Date: Mon, 28 Oct 2002 18:12:58 +0100

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_at_where.com

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

-- 
-- Paul A. Sand pas_at_unh.edu  
Thank you also to :
Peter.Stern_at_weizmann.ac.il
Jonathan Williams [jonathw_at_shubertorg.com]
Kraft, Wolfram [Wolfram.Kraft_at_de.bp.com]
bryan.mills_at_lynx.co.uk
jay nash [mgn321_at_yahoo.com]
Oisin McGuinness [oisin_at_sbcm.com]
Thanks
Daniel
Received on Mon Oct 28 2002 - 17:12:06 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT