title: Trying to save Outlook MailItem as an HTML formatted MSG but it opens as plain text
body: <p>I have a c# class file that references Microsoft Office 16.0 Object Library.</p>
  
  <p>It creates an Outlook MailItem, formats as HTML and saves the MSG file locally.  The problem is that when I open the saved file, Outlook treats it as plaintext.  Here is an example of what I'm looking at:</p>
  
  <pre><code>oMsg = oApp.CreateItem(Outlook.OlItemType.olMailItem);
  oMsg.BodyFormat = Outlook.OlBodyFormat.olFormatHTML;
  oMsg.HTMLBody = @"&lt;b&gt;Test&lt;/b&gt;";
  ...
  oMsg.SaveAs(Path.Combine(path, filename), Outlook.OlSaveAsType.olMSG);
  </code></pre>
  
  <p>When I open the saved file Test is not bold and the format shown for the message is listed Plain Text.  Is there something I'm missing?</p>
  
  <p>I should add also that when I send this message to my Outlook inbox (rather than save) it works.  I'm not sure what is wrong with the MSG file.</p>