On Tue, 26 Feb 2002, Jim Dawson wrote:
> >%_If this message seems familliar, forgive me. I sent out a similar message last 
>week but I didn't see it or any replies to it on the list...
> 
> I need to send an email message from the command line, either piping the output of a 
>command into a mail program or redirectig the text into it, e.g.:
> 
> mycommand | mailprog -user [EMAIL PROTECTED] -subject "results of mycommand"
> 
> or:
> 
> mailprog -user [EMAIL PROTECTED] -subject "text" <textfile.txt
> 

cat testfile.txt  |  mail -s "text" [EMAIL PROTECTED]

--
Gerald Waugh

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to