tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Daniel Clar <Daniel.Clar@supelec.fr>
Subject: SUMMARY : Script to send e-mail with attached files
Date: Mon, 28 Oct 2002 18:12:58 +0100	[thread overview]
Message-ID: <01cf01c27ea5$43c43170$4978e4a0@supelec.fr> (raw)
In-Reply-To: <01c001c27ea0$9f78dac0$4978e4a0@supelec.fr>

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




      reply	other threads:[~2002-10-28 17:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 16:39 Script to send e-mail with attached files Daniel Clar
2002-10-28 17:12 ` Daniel Clar [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox