HtmlToSimpleHtmlAutoConvert Enumeration
Defines the available modes which specify if HTML body of a message should be converted into simple HTML.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public enum HtmlToSimpleHtmlAutoConvert
  Member nameValueDescription
IfHtml0 If the HTML message body exists, it will automatically be converted into simple HTML. The previous HTML body of the message will be overwritten.
Never1 The HTML message body will never be automatically converted into simple HTML.

Simple HTML is a plain text representation intended for displaying in HTML container (such as browser) where line terminators are replaced with <br> tags, URIs are high-lighted using <a href="URI"> tags, etc.

For instance, Outlook Express displays simple HTML version of plain text body for those messages which do not have their original HTML body. In other words, simple HTML is an HTML converted into plain-text and then back to HTML.

The developer may consider to render HTML documents into simple HTML format for security reasons (because all potentially dangerous content will be removed from the document).

The developer can set this mode via MailMessage.Parser.HtmlToSimpleHtmlMode property.
Note Note
URI is a synonym of an URL.
The example is available in MailMessage.Parser.HtmlToSimpleHtmlMode property documentation.
See Also