Nice tricks! :-) Thanks again!
Bye... > -----Original Message----- > From: Steve Traylen [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 12, 2007 18:29 > To: Miles O'Neal > Cc: Steve Traylen; Scientific Linux Users; Manuel Mussini > Subject: Re: Mail from a script > > > On Jul 12, 2007, at 5:39 PM, Miles O'Neal wrote: > > > Keith Chadwick said... > > | > > |Sure! > > | > > |=09/bin/mail -s "$message_subject" $message_mailto < $message_file > > > > Just in case you don't know, if everything you need > > is in the script, you can avoid writing a for the > > message body: > > > > And to get the stderror as well add 2>&1 (assuming (ba)sh) > > > /bin/mail -s "$message_subject" $message_mailto <<__EOD__ 2&>1 > > message body here > > __EOD__ > > -- > Steve Traylen > Work Calendar: http://tinyurl.com/22lw9o > [EMAIL PROTECTED] > CERN, IT-GD-OPS. > >