MessageParserConfigSetPlainOutputMode Method
Configures the parser to prepare the message for displaying in plain-text container (such as a TextBox control in WinForms application or the console).

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public void SetPlainOutputMode()
This method configures the parser as follows:
  • PlainToHtmlMode=PlainToHtmlAutoConvert.Never;
  • HtmlToPlainMode=HtmlToPlainAutoConvert.IfNoPlain
  • HtmlToSimpleHtmlMode=HtmlToSimpleHtmlAutoConvert.Never;
  • HeadersAsHtml=false;
To specify an output message in HTML text mode, use SetPlainOutputMode property.
The example is available in MessageParserConfig class overview.
See Also