MessageParserConfigAutoSaveHtmlMode Property
Gets or sets if (and how) the HTML body of the message should be saved to disk.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public HtmlMessageAutoSaving AutoSaveHtmlMode { get; set; }

Property Value

Type: HtmlMessageAutoSaving
The method of saving the HTML body of the message to disk during parsing the message. The default value is NoAutoSave.

This property makes it easier to get any HTML message as a file. You can also save the message as HTML file using SaveHtmlAndRelatedFiles(String) method.

To make plain-text messages be saved as HTML files as well, you should also set PlainToHtmlMode property value to IfNoHtml.

Note Note
MessageParserConfig object cannot be used on its own. To access its members, the developer should use MailMessage.Parser property.
The example is available in MessageParserConfig topic.
See Also