attachment in unix mail

Hi,

I am sending an attachment (log file) from unix script using uuencode command.
I am able to receive the attachment but when i view it outlook(2007) the file is not formatted when i view it in notepad ( it opens in notepad when i double click it from my mail message) .

Is there a way where I can format the file so that it is formatted properly or is there an alternative to this.

May be the file you are viewing is in unix format. Either convert into dos format first using unix2dos utility or open it in wordpad.

Make sure that the Outlook setting "Remove extra line breaks in plain text messages" is not checked. Microsoft changed the default setting in Outlook 2003.