I am trying to figure out how I can append a subject to sendmail from the command line. I am using RH Enterprise.
using bash shell
sendmail -f"from name" "recipient" <"file"
that sends the mail but no subject.
I have tried this as well
mail -s"Subject header" "recipient" <"file"
But that will not allow me to change the from address. It send it saying root, when I am trying to mask that.
any suggestions would be greatly appreciated.
thanks. back to
