Suresh, On Tue, May 23, 2000 at 06:41:15PM +0530, Suresh Ramasubramanian typed: > Simanta J Handique saw fit to inform LI that: > >This one did not work: " mail -f [EMAIL PROTECTED] -s "Test" > >[EMAIL PROTECTED] < mail_body.txt " > > mail -f <[EMAIL PROTECTED]> -s 'test' > [EMAIL PROTECTED] < mail_body.txt > or better - > cat mail_body.txt|mail -f <[EMAIL PROTECTED]> -s 'test' None of the above will work for the following reasons : 1) The angle quotes will be interpreted by bash as I/O redirection operators. 2) The -f option in mail doesn't mean "use the specified from address" - the parameter following it is the filename which "mail" treats as the inbox. man mail for details. AFAIK mail doesn't have any option to change the 'from" address. Kala Kala ----------------------------------------------------------------------- For more information on the LIH mailing list see: http://lists.linux-india.org/lists/LIH
- [LIH] Changing the From header when using mail Simanta J Handique
- Re: [LIH] Changing the From header when using ... Suresh Ramasubramanian
- [LIH] Re: Changing the From header when using ... Sthitaprajna
- Re: [LIH] Re: Changing the From header whe... Suresh Ramasubramanian
- RE: [LIH] Re: Changing the From header... Simanta J Handique
- Re: [LIH] Re: Changing the From he... Suresh Ramasubramanian
- Re: [LIH] Re: Changing the Fr... Babu Kalakrishnan
- Re: [LIH] Re: Changing th... Suresh Ramasubramanian
- RE: [LIH] Re: Changing the Fr... Simanta J Handique
- Re: RE: [LIH] Re: Changing the Fro... Binand Raj S
- Re: [LIH] Re: Changing the From he... Babu Kalakrishnan
- Re: [LIH] Re: Changing the Fr... Shridhar Daithankar
- Re: [LIH] Re: Changing th... Suresh Ramasubramanian
- Re: [LIH] Re: Changing th... Raju Mathur
- Re: [LIH] Re: Changin... Shridhar Daithankar
- Mail API (Was Re: [LI... Shridhar Daithankar
- Re: Mail API (Was Re:... Arun Sharma
