如何通过ASP.NET C发送hindi电子邮件# [英] How to send hindi email through ASP.NET C#
本文介绍了如何通过ASP.NET C发送hindi电子邮件#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我写主体
body = < html>< head>< / head>< body>दूरभाष:0755-2 ** 4,फैक्स:2 ******< / body> < / HTML>中跨度>;
喜欢这个
它给了?????在印地语单词
请解决
我尝试过:
如果我写主体
body = < html>< head>< / head>< body>दूरभाष:0755-2 ** 4,फैक्स:2 ******< /体>< / HTML>中跨度>;
喜欢这个
它给了?????在印地语单词
请解决
解决方案
是的,正如Mehdi建议的那样,试试MailMessage.BodyEncoding Property(System.Net.Mail) [ ^ ]
Quote:BodyEncoding = Encoding.UTF8
if i write body
body = "<html><head></head><body>दूरभाष : 0755-2**4, फैक्स : 2******</body></html>";
like this
it give ????? on hindi word
please solve
What I have tried:
if i write body
body = "<html><head></head><body>दूरभाष : 0755-2**4, फैक्स : 2******</body></html>";
like this
it give ????? on hindi word
please solve
解决方案
Yes, As suggested by Mehdi, Try MailMessage.BodyEncoding Property (System.Net.Mail)[^]
Quote:BodyEncoding = Encoding.UTF8
这篇关于如何通过ASP.NET C发送hindi电子邮件#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文