Attachment in email

I have a file in unix, while i do email that file to some one from unix, the attachment file data is displaying in the email. (as body of the email).

but if the file has some special characters , the file is emailing as attachment.
But i need the file as the body in the email if it has special characters too..
Can any one give idea.

THanks

The best method that I have found is to install the Perl mime lite library and write a Perl script for sending the email. There are sample scripts all over the internet. Perl gives you greater control over how to send email and with what options.

PERL MIME:LITE