简体   繁体   中英

Sending Email (unicode) From dot net application

How can I send email in multiple languages from my .net application using an xsl/xslt file to format the e-mail message?

I experience an error when I send emails in Russian, I can see the Russian Characters in Hotmail and OutLook properly. But I can't see them in gmail and yahoo mail.

What changes do I need to make to correctly render Russian Characters in gmail and yahoo mail?

Look at this samples : http://www.example-code.com/csharp/RussianEmail.asp

I assume you are already setting the Charset and file encoding..

email.Charset = "koi8-r";

May be encode everything as default Russian encoding of iso-8859-5. For testing purpose hardcode email body with some Russian Characters and save the source code file Unicode (code page 1200) from File - Advanced Save Options...

You have to change your charset to UTF-8 . it supports all of the live languages in the world, but in most cases it is 2-byte. But for English and some other languages (including russian - I'm not sure) it is 1-byte

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM