I want a function to test that a string is formatted like an email address.
What comes built-in with the .NET framework to do this?
This works:
You could use a Regex to do this.
There have been written a lot of articles about it; this came up when I searched google for 'regex to validate email address': Find or Validate an Email Address.