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

Re: sendmain mail without body text



hi ya

> how do i send mail from the command line of a debian box 
> without needing body text?
> 
> e.g.
> mail -s "test message" adrian@test.com.au


mail -s "test message" adrian@test.com.au < /dev/null

or

echo "any msg" | mail -s "test message" adrian@test.com.au


c ya
alvin
-- trying to play with ata133 controllers and drives 



Reply to: