解决asp.net错误 [英] solution for asp.net error
本文介绍了解决asp.net错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案:指定的字符串不是电子邮件地址所需的格式. asp.net
solution: the specified string is not in the form required for an e-mail address. asp.net
推荐答案
这像"Jeopardy"吗?
问题:为什么我的电子邮件不发送而是引发异常?
Is this like ''Jeopardy''?
Question: Why doesn''t my email send and instead throws an Exception?
使用MailAddress对象时,如果电子邮件ID格式不正确,则会引发此异常:
看看这些:
http://stackoverflow.com/questions/4757001/the-specified-string-is-not-in-the-form-required-for-an-e-mail-address [ http://stackoverflow.com/questions/4448618/the-specified-string-is-not-in-the-form-required-for-an-e-mail-address [
This exception is thrown when the email id is not correct format while using MailAddress object:
check out these:
http://stackoverflow.com/questions/4757001/the-specified-string-is-not-in-the-form-required-for-an-e-mail-address[^]
http://stackoverflow.com/questions/4448618/the-specified-string-is-not-in-the-form-required-for-an-e-mail-address[^]
这篇关于解决asp.net错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文