HELP!!! how to send PDF file as an attachment using mailx

Hi,

iam using the following command:

uuencode file1.pdf file1.pdf|mailx - s "waz up?" xyz@domain.com

Iam recieving an encoding error when i try to open the attachment.

Pls help..very urgent!!!

try this.
step 1. convert the file to dos/bin format

ux2dos file1.pdf > new.file1.pdf 

step 2.

uuencode path/new.file1.pdf  file1.pdf | mailx addr1@dom.com

hope this helps