How to Set Mime type to mailx

I have a problem while sending attachement , it is displying Content into body of mail (Junk Data) instead of attachment (zip format) in Linux, same code is working in Sun Solaris..

I have read query in this site , need to set MIME type to mailx componment. Please help me how to set MIME type..

Thanks,
Suneel

looks like you should post the code your useing in solaris and linux.

also what mailer daemon you use.

cat <filename>| uuencode <attachment name> | mailx -s "Subject" <user to email>