mailx not working

Hi All,
I am strugging with mailx.
I have a shell script which triggers mail when executed.
I have mailx utility installed in system under /usr/bin/mailx but still when that script executes i am not getting mails..any idea why strange behaviour..?

Tha:(nks in advance
Usha

can you send the script that you are using to trigger the mail?

Hi Balu,
Please find below my script through which i am sending mail,the mail is getting triggered but i am not receiving mails.

cd /logs/acctracf/
size1=`cat acctracf_dev.txt| wc -l`
size2=`cat acctracf_dev.txt| wc -l`
size_diff=`expr $size1 - $size2`
echo " Size of acctracf_dev.txt reduced after mapping,$size_diff accounts less.please check for errors" >> /logs/acctracf/out_put_E1
echo "sending mails"
cat /logs/acctracf/out_put_E1 | /usr/bin/mailx -r "Accounts" -s "Account mapping information" Usha.T.Rao@aexp.com

I have mailx installed in my solaris system but still giving problem,Is there any other way i can send mail,Please assist.

usha $ which mailx
/usr/bin/mailx

---------- Post updated 09-10-09 at 04:49 AM ---------- Previous update was 09-09-09 at 01:34 PM ----------

Is there any other utility using which i can send mails if mailx is not working?