And if you want a subject, just do:

<whatever you want to send>|mail -s "Subject goes here" myemail@thisaddress.

Brad 'GreyBear' Davis
Ronin Coder/Bithead at Large
-----------------------------------------------
'Don't crush that dwarf, hand
me the pliers!'
----- Original Message -----
From: Michael J. McGillick <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 1999 1:57 PM
Subject: Re: command line email command


> Jason:
>
> Try:
>
>    cat <filename> | mail [EMAIL PROTECTED]
>
> - Mike
>
> On Tue, 9 Nov 1999, Jason Wilson wrote:
>
> > Does anyone know what command I would run to send an email (i.e.
something to put in a script to send me an email when something happens?)
> >
> > Thanks in Advance,
> > Jason
> >
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to