MailBee.NET Objects 7.2

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.

public enum HtmlMessageAutoSaving

Remarks

You can set any of these modes via MailMessage.Parser.AutoSaveHtmlMode property.

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.

Members

Member Name Description
NoAutoSave Do nothing.
SaveMessageHtmAndRelatedFiles Save HTML body of the message into the message.htm file. All related files will be saved into the same location.
SaveMessageMht Save HTML body of the message and all related files into a single message.mht file (Web Archive).
AlterHtmlBody 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.

Requirements

Namespace: MailBee.Mime

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBee.Mime Namespace | Parser | AutoSaveHtmlMode