issue with mail syntax in unix
Posted: Wed Sep 13, 2006 7:56 pm
Hi
I have an issue with the mail syntax:
Here it is
mail -s $EMAILSUBJECT $EMAILADDRESS < EMAILFILE
Variable $EMAILSUBJECT is suppose to substitute the value of it as a subject. But it is not doing that. I tried to put in quotes also. Instead of taking the variable value it is sending one of the email id from the variable "$EMAILADDRESS" as subject.
Actually, this is on:
Linux nps23194 2.6.9-34.ELsmp
Execuse me for posting a non PX post.
Can anyone give their suggestions!!
Thanks
I have an issue with the mail syntax:
Here it is
mail -s $EMAILSUBJECT $EMAILADDRESS < EMAILFILE
Variable $EMAILSUBJECT is suppose to substitute the value of it as a subject. But it is not doing that. I tried to put in quotes also. Instead of taking the variable value it is sending one of the email id from the variable "$EMAILADDRESS" as subject.
Actually, this is on:
Linux nps23194 2.6.9-34.ELsmp
Execuse me for posting a non PX post.
Can anyone give their suggestions!!
Thanks