title: Incorrect encoding in e-mails sent with System.Net.Mail.MailMessage
body: <p>When receiving e-mails sent with <code>System.Net.Mail.MailMessage</code> some recipients seem to have encoding issues with the e-mail. For example charachter <strong>ä</strong> is displayed as <strong>Ã¤</strong>. I have set encoding properties:</p>
  
  <pre><code>System.Net.Mail.MailMessage msg = new System.Net.Mail.MailMessage();
  ...
  msg.BodyEncoding = System.Text.Encoding.UTF8;
  msg.SubjectEncoding = System.Text.Encoding.UTF8;
  </code></pre>
  
  <p>What else can I do?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>If I use the <code>Body</code> property the e-mail is displayed correctly, but when I use the <code>AlternateViews</code> property the e-mail is displayed incorrectly.</p>
  
  <p>Complete code:</p>
  
  <pre><code>SmtpClient smtpClient = new SmtpClient("some.host.com");
  MailMessage msg = new MailMessage();
  msg.To.Add("someone@host.com");
  msg.From = new MailAddress("name@host.com", "Name Name");
  msg.Subject = "Test";
  
  //Displays as ä
  //msg.Body = "ä";
  
  // Displays as Ã¤
  AlternateView htmlView = AlternateView.CreateAlternateViewFromString("ä", new ContentType(MediaTypeNames.Text.Html));
  msg.AlternateViews.Add(htmlView);
  
  smtpClient.Send(msg);
  </code></pre>
  
  <p>When sending to Gmail the e-mail is displayed correctly, but when sending to an Exchange server the e-mail is displayed incorrectly. I have tested in .NET 3.5 and 4.5.</p>