title: 'The parameter 'addresses' cannot be an empty string' with 2 messages
body: <p><br>
  I'm trying to send 2 emails from the same codebehind, but it gives me this error:</p>
  
  <blockquote>
    <p>The parameter 'addresses' cannot be an empty string.</p>
  </blockquote>
  
  <p>If I delete 1 of this message, it sends it without any problem... why?<br>
  This is my code:</p>
  
  <pre><code>MailMessage message;
  string body;
  SmtpClient sc;
  message = new MailMessage();
  message.From = new MailAddress("address@address.ext");
  message.IsBodyHtml = true;
  sc = new SmtpClient("smtp.smtp.smtp");
  sc.Port = 25;
  sc.Credentials = new NetworkCredential("address@address.ext", "password");
  sc.EnableSsl = true;
  System.Net.ServicePointManager.ServerCertificateValidationCallback += (s, cert, chain, sslPolicyErrors) =&gt; true;
  message.To.Add("address@address.ext");
  message.Subject = "This is the subject";
  
  MailMessage message2;
  string body2;
  message2 = new MailMessage();
  message2.From = new MailAddress("address@address.ext");
  message2.IsBodyHtml = true;
  message2.To.Add("address@address.ext");
  message2.Subject = "This is the subject2";
  body2 = HttpUtility.HtmlDecode("This is the body2");
  message2.Body = body2;
  sc.Send(message2);
  
  body = HttpUtility.HtmlDecode("This is the body");
  message.Body = body;
  sc.Send(message);
  </code></pre>
  
  <p>I'v also tried to use 2 sc, called "sc2" with the same parameters of the first, but I receive the same error.
  I hope you could help me.
  Thank you!
  Daniele</p>