This is a dead simple way to validate a string of text to ensure that it is an e-mail address. The MailAddress object within the System.Net.Mail; namespace is RFC5322 compliant so if we try to create an instance of the object with an invalid e-mail address, it will throw an error that we can trap using a simple try { } catch {} block as follows.
Comments
Please consider what you post!
Chillax if you're angry.