title: Error: The specified string is not in the form required for an e-mail address
body: <p>I have VB.NET code below that reads from a SQL Server database.</p>
  
  <pre><code>Using conn As New SqlConnection(ConfigurationManager.ConnectionStrings("GasNominationsConnectionString").ConnectionString)
  
      conn.Open()
      Using cmd As SqlCommand = conn.CreateCommand
          cmd.CommandType = CommandType.StoredProcedure
          cmd.CommandText = "getEmailAddress"
          cmd.Parameters.Add("company", SqlDbType.VarChar).Value = "RWET"
          Dim sqlrd As SqlDataReader = cmd.ExecuteReader()
          If sqlrd.HasRows Then
              While sqlrd.Read()
                  msg.[To].Add(New MailAddress("emailAddress"))
              End While
          End If
      End Using
  
  End Using
  </code></pre>
  
  <p>The data in the SQL Server table is a list of 2 email addresses but I get an error </p>
  
  <blockquote>
    <p>The specified string is not in the form required for an e-mail address</p>
  </blockquote>
  
  <p>Any ideas what I am doing wrong?</p>