On Tue, Nov 04, 2003 at 11:17:50AM +0800, Chow, Lilian TW wrote:
Here is the my command
/bin/mail -a "From: Lilian Chow lilian.tw.chow@pccw.com" -s "Subject:
hello" lilian.tw.chow@pccw.com
and return errors are like these: /bin/mail: invalid option -- a
I guess the error message says it all ...
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ... [- sendmail-options ...] mail [-iInNv] -f [name] mail [-iInNv] [-u user]
The mail command printed a standard "usage" messsage as a clue - these are the options available. Maybe reading the manpage for mail will help.
Sameer.