By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,581 Members | 1,966 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,581 IT Pros & Developers. It's quick & easy.

ASP + CDO send Chinese email issue

P: n/a
Hello all,
I am using ASP + CDO tp send mail (running on Win2000 server and
will not upgrade to use ASPX in 2 years time). I use ASP + CDO to send
email with Chinese To:, From:, Subject: and content. The content can
display correctly but the To: From: and Subject become "???" after
transfer. Is there any way to resolve this? Thanks. Below please find
the code to send email.

Dim iMsg
Set iMsg = server.CreateObject("CDO.Message")
Dim iConf
Set iConf = server.CreateObject("CDO.Configuration")

Dim Flds
Set Flds = iConf.Fields

With Flds

..Item("http://schemas.microsoft.com/cdo/configuration/smtperver") =
"mail.mycom.hk"

..Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") =
25
.Update
End With
With iMsg
Set .Configuration = iConf
.To = "一*茪H <so*****@mycom.com>"
.From = "另一*茪H <an*****@mycom.com>"
.Subject = "一件事"
.CreateMHTMLBody "http://www.yahoo.com.hk", 31
.Send
End With

set iMsg = nothing
set iConf = nothing
set Flds = nothing


-- Posted on news://freenews.netfront.net - Complaints to ne**@netfront.net --
Aug 5 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.