MessageParserConfigSetHtmlOutputMode Method
Configures the parser to prepare the message for displaying in HTML container (such as browser).

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public void SetHtmlOutputMode()
This method configures the parser as follows:
  • PlainToHtmlMode=PlainToHtmlAutoConvert.IfNoHtml;
  • HtmlToPlainMode=HtmlToPlainAutoConvert.Never;
  • HtmlToSimpleHtmlMode=HtmlToSimpleHtmlAutoConvert.Never;
  • HeadersAsHtml=true;
You should call this method before the message gets parsed. If you called it after, you should reparse it with Apply method.
See Also