[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sending mail from bash scripts



Yes,

mailx -s "Subject" recipient@domain < 
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 cron, but can't seem to get the
> format down just right...



Reply to: