MessageParserConfigSetHtmlOutputMode Method |
Configures the parser to prepare the message for displaying in HTML container (such as browser).
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public void SetHtmlOutputMode()
Public Sub SetHtmlOutputMode
Remarks
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