title: Check that email address is valid for System.Net.Mail.MailAddress
body: <p>Currently, to avoid errors from being thrown up due to invalid email addresses, I do the following:</p>
  
  <pre><code>Dim mailAddress As MailAddress
  Try
     mailAddress = New MailAddress("testing@invalid@email.com")
  Catch ex As Exception
     'Invalid email
  End Try
  </code></pre>
  
  <p>However, rather than depending on <code>Try..Catch</code>, is there a way of validating that the email address will be 100% valid for the <code>MailAddress</code> type?</p>
  
  <p>I know there a plenty of regex functions out there for validating emails, but I'm looking for the function which the <code>MailAddress</code> type uses to validate its addresses.</p>