srkirkland/DataAnnotationsExtensions — Issue #26: Email validation
Author: kristiansam
Created: 2011-12-19 15:15:22+00:00
State: open

Validation fails (does not report error) for domain name. It is possible to write a domain name of any size. Is this intended?
It is also possible to end email with a punctuation mark.

Valid emails:
a@bdsada.s.jsjslsjdklsjdjsdjdjdjdjdjdfnhsdklfs
a@bdsada.s.

Take a look on Microsoft's approach on how to validate a string as an email address:
http://msdn.microsoft.com/en-us/library/01escwtf.aspx