title: Multipart E-mail Using MailMessage
body: <p>I have an E-mail I want to send from C# which has a vCalendar and an HTML body parts.</p>
  
  <p>I created a <code>MailMessage</code>, and set 2 alternate views:</p>
  
  <pre><code>AlternateView avCal  = new AlternateView("VCALENDAR:...", null, "text/calendar");
  AlternateView avHtml = new AlternateView("&lt;p&gt;some html&lt;/p&gt;", null, "text/html");
  
  mailMessage.AlternateViews.Add(avCal);
  mailMessage.AlternateViews.Add(avHtml);
  </code></pre>
  
  <p>This gives me a message with a <code>Content-Type</code> of <code>multipart/alternative</code>.</p>
  
  <p>This will show both the calendar appointment and HTML part on my webmail but not Outlook.</p>
  
  <p>How can I show two different parts like this with different content types? What I'm looking for is more like a <code>Content-Type: multipart/mixed</code> where both "Alternate Views" show up.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>When I use @Chris Haas's method, I get close but the markup is not rendered. It seems to be ignoring <code>MailMessage.IsBodyHtml = true</code></p>
  
  <p><img src="https://i.stack.imgur.com/rUDnH.png" alt="html not showing up"></p>
  
  <p>not really sure how to view it raw in outlook but just the headers...</p>
  
  <pre><code>Return-Path: &lt;*****@****.com&gt;
  X-Footer: ZWJyaWRnZS5jb20=
  Received: from localhost ([127.0.0.1])
      by mail.foo.com
      for *****@****.com;
      Wed, 2 Jan 2013 17:20:14 -0500
  MIME-Version: 1.0
  From: "George Washington" &lt;*****@****.com&gt;
  To: "George Washington" &lt;*****@****.com&gt;
  Date: 2 Jan 2013 17:29:14 -0500
  Subject: To-Do: test test - test
  Content-Type: multipart/mixed; 
  boundary=--boundary_0_4fbc08b4-2198-45b1-bf2e-9659179aad84
  </code></pre>