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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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