接受电子邮件ID的哪些特殊字符? [英] Which special characters to accept email id ?

查看:113
本文介绍了接受电子邮件ID的哪些特殊字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用过(@[〜`!@#$%^& *() - + = | \ {}':;。,<> /?]);这个特殊字符可以发送电子邮件。

但是

i使用这个'特殊字符给出以下异常抛出

I have used (@"[~`!@#$%^&*()-+=|\{}':;.,<>/?]"); this special character to email.
but
i use this ' special character given below exception throw

'System.Data.DataRowView' does not contain a property with the name

的属性



i使用此<下面给出的特殊字符错误抛出



i use this < special character given below error throw

A potentially dangerous Request.Form value was detected from the client (ctl00$cphSiteMasterBody$tbxReRegisterRefNo="ghj<fh").





我的尝试:



i二手正则表达式表达式限制这两个特殊字符,但我也想要这个字符。



What I have tried:

i used regex regular expression to restrict these two special character but i want this characters also.

推荐答案

%^& *() - + = | \ {}':;。 ,<> /?]);这个特殊字符用于发送电子邮件。



i使用此特殊字符给出以下异常抛出

%^&*()-+=|\{}':;.,<>/?]"); this special character to email.
but
i use this ' special character given below exception throw
'System.Data.DataRowView' does not contain a property with the name

的属性



i使用此< special下面给出的字符错误抛出



i use this < special character given below error throw

A potentially dangerous Request.Form value was detected from the client (ctl00


cphSiteMasterBody
cphSiteMasterBody


tbxReRegisterRefNo =ghj< fh)。
tbxReRegisterRefNo="ghj<fh").





我尝试了什么:



i使用正则表达式正则表达式限制这两个特殊字符,但我也想要这个字符。



What I have tried:

i used regex regular expression to restrict these two special character but i want this characters also.


这篇关于接受电子邮件ID的哪些特殊字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆