On Sat, Jan 01, 2005 at 09:38:54AM +0530, Bilal Ahmed Mazhar wrote:
#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]
I am using mailx. -r works for me.
Amish.