On Sat, 1 Jan 2005 09:38:54 +0530, "Bilal Ahmed Mazhar" bilal@goldenswan.com said:
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
Try this,
$ cat /etc/hosts | mail -s "test message" -a "From: "Mr. Foo Bar" foo@bar.com" anurag@unknown.com
now, this works with "mail" that comes with Debian woody.
-Anurag