HtmlMessageAutoSaving Enumeration
Defines the available modes for automatic saving of the HTML body or related files of the message into WorkingFolder location during parsing the message.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public enum HtmlMessageAutoSaving
Members
  Member nameValueDescription
NoAutoSave0 Do nothing.
SaveMessageHtmAndRelatedFiles1 Save HTML body of the message into the message.htm file. All related files will be saved into the same location.
SaveMessageMht2 Save HTML body of the message and all related files into a single message.mht file (Web Archive).
AlterHtmlBody3 Save all related objects into MailMessage.Parser.WorkingFolder and replace all CIDs in the message HTML body with relatives URIs (in fact, filenames) pointing to the corresponding related files in WorkingFolder.
Remarks
You can set any of these modes via MailMessage.Parser.AutoSaveHtmlMode property.
Note Note
If you wish to make plain-text messages be saved as HTML files as well (so that it would always be possible to render any e-mail message just by displaying message.htm file, regardless if the message is HTML or plain-text), set MailMessage.Parser.PlainToHtmlMode to IfNoHtml in addition to setting of MailMessage.Parser.AutoSaveHtmlMode.
Note Note
Async methods are not compatible with HTML body autosave. Use methods like SaveHtmlAndRelatedFilesAsync(String) directly.
See Also