Hi,

Except for the contents of $NEWPCAUSE other variables like $MNAME and $MTYPE
are getting correctly displayed in the subject line.

Regards,

Jack

On Thu, Mar 19, 2009 at 3:35 AM, Bruce Richards <[email protected]>wrote:

> What is showing up in the subject line, if anything?
>
> On Wed, Mar 18, 2009 at 6:29 PM, Jack doe <[email protected]> wrote:
>
>>  Hi List,
>>
>> I am trying to pass the first line of the PCAUSE in the subject of the
>> mail its not working although the echo works ok .Any ideas ?
>>
>> NEWPCAUSE=`echo "$PCAUSE" | /bin/head -1`
>> echo "NewCause:         $NEWPCAUSE"
>>
>> $MAIL -f "[email protected]" -s " $NEWPCAUSE (Model Name=$MNAME) (Model
>> Type=$MTYPE)" $RCVRS < /tmp/set_alarm.$PID
>> Regards,
>>
>> Jack
>>
>>    - --To unsubscribe from spectrum, send email to [email protected] with
>>    the body: unsubscribe spectrum [email protected]
>>
>>
>

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to