Unable to see attachment in outlook express sent by UUENCODE through unix script

Hi,

I have written one script to send mail with attachment from my unix server, it is working fine, and i am capable to see the attachment in my lotus notes , but when i try to see the same thing in my outlook express ..it is completly garbaled.

Please advise how to see proper attachment in outlook express .

I am using outlook express 2003.

Thanks
Amit

Can you please post the command that you use to send email, so that it will be easy to find any error.

Thanks,
Sameer.

Hi,

I am not facing any error while sending the mails through scripts. when i try to see that mail thorough outlook express ..it's output is not good ,, the attachment are completely garbaled. but when i use lotus notes for checking these mails, attachment are fine.

even i am using this command to send mails

uuencode $FILE1 $FILE1 | mailx -s "$SUBJECT" $MAILTO

Also try:

uuencode $FILE1 $FILE1 | mailx -m -s "$SUBJECT" $MAILTO

why don't you use the -a option?

i know that the -a option is not available on every os
on aix, mailx is simply a hardlink of mail :slight_smile:

but check if it's available on your system

echo | mailx -a file1 -a file2 you@mail 

Hi,

Thanks for your help. (-m) option worked for me.

It is nice to see the result in outlook.

Thanks
Amit