sending mail with CDO

Dear all,

I have problem in sending asp mail using CDO object. Please kindly help...

when I view the  mail source, I found the coding scheme have no error..while the content cannot display correctly..no matter which encoding scheme I choose to view the message.. actually I tried unicode as well..but no good at all....

Here are my code:
<%
Dim sMsg
Dim sTo
Dim sFrom
Dim sSubject
Dim sTextBody

sTo = "esther@xxxx.com"
sFrom = "esther@xxxx.com"
sSubject = "testing" 'chinese character here

strBody2="<HTML><HEAD>" & _
"<META http-equiv=Content-Type content=""text/html; charset=big5"">" & _
"</HEAD>" & _
"<BODY bgcolor=#FF941C>" & _
"<font color=#FFFFFF>chinese character here!!!<br><br>"& _
"</BODY></HTML>"                    

Dim objMail
'Create the mail object
Set objMail = Server.CreateObject("CDO.Message")
If IsObject (objMail) Then
'Set key properties
  objMail.From = sFrom
  objMail.To = sTo
  objMail.Subject= sSubject
  objMail.HTMLBody  = strBody2
  objMail.TextBodyPart.Charset = "big5"
  objMail.HTMLBodyPart.Charset = "big5"
  objMail.TextBodyPart.ContentTransferEncoding = "quoted-printable"
  objMail.HTMLBodyPart.ContentTransferEncoding = "quoted-printable"
      
  'Send the email
  objMail.Send
  'Clean-up mail object
  Set objMail = Nothing
  Response.Write("Message sent")
Else
  Response.Write("Message not sent")
End If

%>
ping1234Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ping1234Author Commented:
I have solved the problem by myself..here is the answer

using
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
+
objMail.SetLocaleIDs(65001)


thanks!

moduloCommented:
Closed, 200 points refunded.

modulo
Community Support Moderator
Experts Exchange

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.