Allowing the specific format of email address in MVC input

Posted by user219315 on Stack Overflow See other posts from Stack Overflow or by user219315
Published on 2010-05-11T13:33:34Z Indexed on 2010/05/11 13:44 UTC
Read the original article Hit count: 297

Filed under:
|
|
|
|

Hi I have a page in MVC where i want to take the email adddress as the input which can be of format like:"Jone Davi" <[email protected]>, "Ben Miller" <[email protected]>, "Jane Ton" <[email protected]>,

Then from this I want to parse the valid emailaddress.But on click of the submit button getting error message" A potentially dangerous Request.Form value was detected from the client "

Thus is there any way to take the input of email address in above format and bypass the security error for that specific page.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about mvc