MessageParserConfigSetHtmlOutputMode Method |
Configures the parser to prepare the message for displaying in HTML container (such as browser).
Namespace: MailBee.MimeAssembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntaxpublic 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