[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

utf-8 support aspemail.

Posted on 2009-04-28
2
Medium Priority
?
307 Views
Last Modified: 2012-05-06
Hi,
I have asp application, it uses aspemail soft to send email on UTf-8 fomat.
I am testing receiving email on Outlook Express. when I try to send chinese or korean email  then some characters in Subject line becomes "???" sign.
But the body of the text is fine.

I followed the following code according to the aspemail.com, mannual. but still doesnot work.
 Mail.Subject = Mail.EncodeHeader( Request("Subject"), "utf-8")
 Mail.CharSet = "UTF-8"
 Mail.ContentTransferEncoding = "Quoted-Printable"

any help would be very much appreciated


0
Comment
Question by:saloj
2 Comments
 
LVL 9

Accepted Solution

by:
tillgeffken earned 1500 total points
ID: 24249631
Are you setting the mail subject again after executing

Mail.Subject = Mail.EncodeHeader( Request("Subject"), "utf-8")

Cause what you're really supposed to do is use

dim mySubject = "Your subject text"
Mail.Subject = Mail.EncodeHeader( Request(mySubject), "utf-8")

If that doesn't help try to explicitly setingt Session.CodePage=65001
0
 
LVL 2

Author Comment

by:saloj
ID: 24250206
i tried it, but still doesnt work. how can i write "Session.CodePage=65001" in visual basic 6.0?

dim mySubject = "Your subject text"
Mail.Subject = Mail.EncodeHeader( Request(mySubject), "utf-8")
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Microsoft Outlook is not just an email client but it is full featured Personal Information Manager. But sometimes Outlook gets disconnected and you simply can’t access it. What steps can you perform before calling IT support? In this article we will…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Loops Section Overview

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question