utf-8 support aspemail.

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


LVL 2
salojAsked:
Who is Participating?
 
tillgeffkenCommented:
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
 
salojAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.