Dear Amish Munshi
You may be using mailx instead of mail command. I get following error (i.e syntax of mail command) when it is run as you suggested #cat email.txt | mail -s "subject" -r sender@domain1.com receiver@domain2.com mail: invalid option -- r Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ... [- sendmail-options ...] mail [-iInNv] -f [name] mail [-iInNv] [-u user]
Bilal