On Sat, 10 Feb 2001, Mike Fletcher wrote:

> hello;
> 
> I want to write a script and have the output directed to a file.  I then
> want to mail the file to 2 reciepents.  
> 
> What is the command line arguments to use sendmail from the command line
> (within a script) to send mail to 2 reciepents as well as send an attache
> a file?
> 
> Thanks,
> Mike
> 
Well, if you want to include the file in the body of the message,
something like:

/bin/mail -s "[subject]" [user 1] [user 2] <[script output file]

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to