c# - Is RegEx used by System.Net.Mail.MailAddress -


i have been trying find regex email validation.

i have gone through comparing e-mail address validating regular expressions , didn't suffice validation needs. have google/bing(ed) , scan top 50 odd results including regular expressions info article , other stuff.

so used system.net.mail.mailaddress class validate email address. since, if fails, email won't sent user.

i want customize validation used constructor of class.

so how go ahead , validation/regex mailaddress class using?

no not use regex, rather complicated process take way long explain here. how know? looked @ implementation using .net reflector. , can :d

http://www.red-gate.com/products/reflector/ (it's free)


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -