I am trying to send mail using the SMTP protocol. Everything works fine.
But if I add an attachment, the attachment is displayed as text and not as
an attachment file. I am using UUEncode to encode the attachment.

I have a similar component in VB6 which works perfectly. When porting it
to VB.Net it gives this error. I have a feeling that It has to do with the
ASCII/UNICODE encoding. In VB6, strings are by default in Unicode. However
it seems that in VB.Net strings are in Ascii and converting them to Unicode
dosent seem to work properly (or may be i am wrong).

Another observation, the mail size (with attachment) when sent using VB6
is almost double that of the the mail size (with attachment) when sent using

Could someone pl help