title: How to fix exception thrown when sending mail message to multiple recipients?
body: <p>In the code snippet below, I'm getting a FormatException on 'this.Recipients'. More specifically, the message is "An invalid character was found in the mail header: ';'".</p>
  
  <p>Recipients is a string of three email addresses separated by semicolons (the ';' character). The list of recipients is read from an app.config and the data is making it into the Recipients variable.</p>
  
  <p>How can I be getting this error when multiple recipients should be separated by a semicolon? Any suggestions? As always, thanks for your help!</p>
  
  <pre><code>public bool Send()
  {
      MailMessage mailMsg = 
         new MailMessage(this.Sender, this.Recipients, this.Subject, this.Message);
  
      SmtpClient smtpServer = new SmtpClient(SMTP);
      smtpServer.DeliveryMethod = SmtpDeliveryMethod.Network;
  </code></pre>
  
  <p>Edit #1 - <a href="http://www.systemwebmail.com/faq/2.6.aspx" rel="noreferrer">This</a> says use a semicolon.</p>