Mailx command running successfully but no mails received.

Hi,

I am working on a HP-UX box. Mailx command running successfully but no mails received. Here is what I am doing

rocfm@comhp73 -   mailx -s "subject" abc@gmail.com < abc.txt
Null message body; hope that's ok
rocfm@comhp73 - echo $?
0
rocfm@comhp73 - echo "something" | mailx -v -s "subject" abc@gmail.com
mailx: illegal option -- v
usage: mailx [-FUm] [-s subject] [-r address] [-h number] address ...
       mailx -e
       mailx [-UHLiNn] [-u user]
       mailx -f [-UHLiNn] [filename]

Can any one please help, as to where I can check the problem. What configurations should I check.

Mailx is an MUA Mail User Agent). You need an MTA (Mail Transport Agent) also. Have not used HP-UX but I think it's MTA is sendmail.

Is there a sendmail process when you do a ps aux listing?