| Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Mail for ActiveX Topic: Winsock Problem(very urgent) |
| User113 Posts: 1 Member Since: 04/17/02 |
posted April 17, 2002 1:38 AM hello, i have made a utility software for receiving and sending mails by using Winsock control in VB 6.0. But i am facing a problem, i input subject of mail in japanese , and attach a text file (contents written in japanese) and send it , it sends the mail properly but when i receive the mail and open it then the message written in text file comes in correct format, but subject does not come in proper format.It shows some garbbled values. i tried to input the subject through a text file also but same problem arises.i am using the following statements for providing charset : Winsock1.SendData("MIME-Version: 1.0" + vbcrlf) Winsock1.SendData("Content-Type:text/plain; charset=shift_jis" + vbcrlf) Winsock1.SendData("Content-Transfer-Encoding:7bit"+ vbcrlf) Winsock1.SendData(StringValue + vbcrlf) StringValue stores japanese text string and in correct format, but when i open mail it does not show in correct format. pls help me in solving this problem. if i am wrong then pls tell me the way to correct it. thanks, neeraj |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted April 17, 2002 9:31 AM Hi neeraj, I would use Outlook Express to create a similar message, examine how it encodes the Subject header, and then send the same string in your program. -ken K M Drake Dart Tech Support |
| Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|