|
-
Jan 16th, 2007, 03:39 AM
#1
Thread Starter
Member
email Subject displays ? instead of Chinese using CDONTS
Hi,
I need to send an email which contains both english and unicode say(Chinese for ex) using the CDONTS.
As of now have mad the body part accept unicode by using the setLocalIDs = 650001. The issue is now with the subject part which still displays ??? instead of unicode(chinese Charaters).
Code is as below
Dim objCDO As CDONTS.NewMail
objCDO = New CDONTS.NewMail
'------------ added for CH 2.6 unicode ------------
objCDO.SetLocaleIDs(65001)
'--------------------------------------------------
objCDO.From = "[email protected]"
objCDO.To = "[email protected]"
objCDO.Subject = "刹车防抱死(ABS)系统解决方案 研讨会"
objCDO.Body = objDataset.Tables(0).Rows(0)("email_content")
'objCDO.BodyFormat = 0 'MIME
objCDO.MailFormat = 0 '0 HTML / 1 Text
objCDO.Send()
objCDO = Nothing
Thanks!.
Regards,
Nandini
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|