学科特质 [英] Special Character in Subject
本文介绍了学科特质的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
发送邮件时,我需要添加以下主题.
message.Subject =问候!" ;
但是主题不接受特殊字符!".
显示错误.
"System.FormatException:输入字符串的格式不正确"
如何在主题中添加特殊字符?
在此先感谢,
Saranya1388
Hi,
While send a mail I need to add the Subject as below.
message.Subject = "Greetings !" ;
But the Subject is not accept the Special character ''!'' .
It showed an error.
"System.FormatException: Input string was not in a correct format"
How can we add the Special characters in Subject?
Thanks in Advance,
Saranya1388
推荐答案
在主题中发送特殊字符没有任何问题.
您可以参考本文发送邮件 [^]
I didn''t feel any problem in sending special characters in subject.
You can refer this article for sending mails [^]
这篇关于学科特质的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文