473,800 Members | 2,689 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP + CDO send Chinese email issue

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.CreateOb ject("CDO.Messa ge")
Dim iConf
Set iConf = server.CreateOb ject("CDO.Confi guration")

Dim Flds
Set Flds = iConf.Fields

With Flds

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

..Item("http://schemas.microso ft.com/cdo/configuration/smtpserverport" ) =
25
.Update
End With
With iMsg
Set .Configuration = iConf
.To = "¤@*Ó¤H <so*****@mycom. com>"
.From = "¥t¤@*Ó¤H <an*****@mycom. com>"
.Subject = "¤@¥ó¨Æ"
.CreateMHTMLBod y "http://www.yahoo.com.h k", 31
.Send
End With

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


-- Posted on news://freenews.netfront.net - Complaints to ne**@netfront.n et --
Aug 5 '08 #1
0 1815

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5180
by: Ian | last post by:
Hi, I've got an english site designed that I need to translate into Chinese. I've got the Chinese wording to work with but I can't figure out how to get it into my code. I thought I could simply paste the chinese characters from a Word document into my html editor between <P> tags using the PMingLiU or SimSun font but it just enters like this:
1
12004
by: GPenn | last post by:
SQL 2000, latest SP. We currently have the need to store data from a UTF-8 application in multiple languages in a single database. Our findings thus far support the fact that single-byte and double-byte characters can be held in the same DB without issue. However, when holding two sets of DIFFERING double-byte characters (i.e. Chinese and Japanese) there are issues. Since Japanese has a superset of both Kanji and Katakana characters...
2
2849
by: bob | last post by:
Im having a wierd chinese font issue in Access 2000. I installed the chinese support for access 2000, have all the windows stuff setup, even have 10-12 other chinese fonts installed. I made a new text field, in one of my tables. Pasted some chinese text in the field(datasheet view), and the chinese text is sideways. The chinese character is flipped 90degrees. Ive tried different fonts, no difference. Ive typing in characters(not...
8
11993
by: pabv | last post by:
Hello all, I am having a few issues with encoding to chinese characters and perhaps someone might be able to assist. At the moment I am only able to see chinese characters when displayed as part of a datagrid. When an input textbox is displayed it does not display chinese characters, but rather the unicode characters stored in the mssql 2000 server backend.
1
2875
by: CYF | last post by:
My Computer : Window XP Pro English Version -> I have set the "Regional" to "Taiwan" Mysql 4.1.x -- > set to big5 already i am using C# to program. When i retrieve chinese character from the mysql database, the chinese character will become "????". Alternatively, when i insert the chinese character from the program to the database, those chinese character will become symbols too.
1
1307
by: alexmaster_2004 | last post by:
Hi There i'm using System.Web.Mail to send email message. but i have a problem with it. the emails that i send is in Turkish Language. so when i send the email the receipt can't be able to raed the message. i have tried to use the BodyEncoding property of the MailMessage class but it didn't make any changes(mainly it made it worst). So i want to know how i make it possible to send this mail in Turkish. Thanks
1
2038
by: paulineliu | last post by:
Hi, I would like to develop access databases for Chinese companies. I have microsoft access 2002 in windows XP. I am able to create labels in Chinese characters and enter Chinese characters in the tables. However, I am not able to enter Chinese characters in the VBA editor. Do I need to install Chinese Windows? Do I need to install Chinese version of Microsoft Access? Are there any websites I need to visit to get educated? Am I in...
0
1812
by: alexsink | last post by:
I am trying to get apache content negotiation to redirect only zh-CN(mainland China, where Simplified Chinese translations are available) language types to Chinese web pages, and have all other variants of Chinese language tags(ie zh-TW) point to English-suffix pages. Our site currently has content negotiation set up for several other languages, and we have the corresponding html files for those languages being properly served. After...
5
3014
by: DaveRook | last post by:
Hi I am using c# and MS SQL (express) I have a simple web form where a user puts in their name and address and it updates straight to the SQL server. It also sends an email to let me know it's been updated, and the email contains the same information. This works very well. The problem I have is if some one types anything in Chinese (traditional or simplified)! The email I get is fine and displays Enligsh and Chinese, but it won't...
0
9553
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10509
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10256
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10039
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9095
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7584
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6824
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5477
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2953
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.