Re: Sending mail from bash scripts

2001-12-15 Thread Thomas Halahan
Yes, mailx -s "Subject" [EMAIL PROTECTED] < some_file_with_contents.txt (One line clearly) tom On Thursday 13 December 2001 23:46, Matthew Daubenspeck wrote: > Is there any easy way to send a message complete with > subject and body from a bash script? I want to run > something simple from cr

Re: Sending mail from bash scripts

2001-12-14 Thread Sven Hoexter
On Thu, Dec 13, 2001 at 02:58:51PM -0800, nate wrote: > > > Is there any easy way to send a message complete with subject and > > body from a bash script? I want to run something simple from cron, > > but can't seem to get the format down just right... > > > > what about > echo "my message" | m

Re: Sending mail from bash scripts

2001-12-13 Thread nate
> Is there any easy way to send a message complete with subject and > body from a bash script? I want to run something simple from cron, > but can't seem to get the format down just right... > what about echo "my message" | mail -s "my subject" [EMAIL PROTECTED] many of my bash scripts output

Re: Sending mail from bash scripts

2001-12-13 Thread Mark Ferlatte
On Thu, Dec 13, 2001 at 05:46:05PM -0500, Matthew Daubenspeck wrote (1.00): > Is there any easy way to send a message complete with subject and body from > a bash script? I want to run something simple from cron, but can't seem to > get the format down just right... mail -s "My subject" [EMAIL P