in reply to can't get mailx to send from within a script
An example; `echo "test message" | /bin/mailx -s "hello" john@work.com` should probably work.
Check out the command under a shell prompt and make sure you copy it EXACTLY into the "backticks"; if you have to hit additional return keys or anything similar then it won't work as you first tried it.
HTH
Dave R
|
|---|