Sir,
1. I wish to create an application that can us to send e-mail using winsock control. (not using MAPI). I got the code to send e-mail but i don't know how can i attach a picture or any other file with my mail. please help me.......
2. Can VB's Text Box control support two fonts at a time like RichText Box? Is it any way to do so?
There are a few ways to attach file. You see, the binary files (image etc) are in 8 bits while you are only allowed
to send 7bits ASCII through the mail system. So, what you need is to encode it. There are a few ways to "change"
the 8 bits to 7 bits. Two popular methods that I know is MIME and UUENCODING. I only have the source code for
UUENCODE in VB. But, certain mail systems use MIME and certain use UUENCODE and some use both. For example,
Lycos Mail uses MIME and can't open file that is encoded using UUENCODE method. But Hotmail can open file
that is encoded using UUENCODE. I'll attach you the project that has this UUENCODE module. Good luck!
P/S : If you find the MIME source code, do e-mail it to me! Thanks!