How to send mail with attachments in hpux server?

I am trying to send a mail alongwith attachments in hpux server. Its not throwing any error but it seems the command is still running,neither its sending the mail. The commands i am using is-

uuencode 00PZ00000012OHJMA2.csv | mailx -s "Hello" abc@hp.com

uuencode Shell_Script_Sample.ksh | mailx -m -r abc@hp.com -s "Error File Report" xyz@hp.com

Can anyone help me in this?

Check your sendmail log:
Sendmail log - HP Enterprise Business Community
And your sendmail setup:
how to configure mail service on HP-UX (B.11.23) - HP Enterprise Business Community
Sendmail config in HPUX server - HP Enterprise Business Community