Next LUG meet: 9 Nov 2003 around 4 pm - VJTI --------------------------------------------
Dear Lilian, Yes, the mail command has quite a few options ; But to test whether u are able to send the mail on command line type the following; # echo "hello" | mail [EMAIL PROTECTED] hope it helps. -regs harshul Harshul AT sintelli DOT com Copyright C 2002-2003 Sintelli Ltd. http://www.sintelli.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sameer D. Sahasrabuddhe Sent: Tuesday, November 04, 2003 5:04 AM To: GNU/Linux Users Group, Mumbai, India Subject: Re: [ILUG-BOM]Linux mail from command Next LUG meet: 9 Nov 2003 around 4 pm - VJTI -------------------------------------------- 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 <[EMAIL PROTECTED]>" -s "Subject: > hello" > [EMAIL PROTECTED] > > 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. -- Research Scholar, KReSIT, IIT Bombay http://www.it.iitb.ac.in/~sameerds/ -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

