Problem with mail attachment in Snow Leopard

Hi,

We have few scripts that are run through jobs . It sends us daily reports (using mailx). This was working fine in Leopard. But in Snow Leopard there is problem with the attachments.Neither the attachment name is being displayed correctly(all it displays is "Mail Attachment") nor the format of the attachment stays intact (i.e everything opens up in text editor even if they are .xls files).

Do we have a work around for this? I just want the attachments to display properly as that in Leopard.

Thanks in advance.

This may help (or not)

Mail.app not recognizing Unix attachments

From that page: