HtmlSaveOptions Class

Allows to specify additional options when saving MailMessage to Html format.
Inheritance Hierarchy

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.6
Syntax
public class HtmlSaveOptions : HeadersFormattingOptions

The HtmlSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodHtmlSaveOptions
Initializes a new instance of this class that can be used to save a MailMessage in the Html format.
Properties
  NameDescription
Public propertyAfterHeadersFormat
After headers format.
(Inherited from HeadersFormattingOptions.)
Public propertyBeforeHeadersFormat
Before headers format.
(Inherited from HeadersFormattingOptions.)
Public propertyCheckBodyContentEncoding
Defines whether need check message body content encoding when saving.
Public propertyCssStyles
Gets or sets the additional css styles for the formatter.
(Inherited from HeadersFormattingOptions.)
Public propertyCustomProgressHandler
Represents method that usually supplied by calling side and handles progress events.
(Inherited from SaveOptions.)
Public propertyDefaultHeaderFormat
Default header line format.
(Inherited from HeadersFormattingOptions.)
Public propertyDefaultPageHeaderFormat
Default page header format.
(Inherited from HeadersFormattingOptions.)
Public propertyEmbedResources Obsolete.
Defines whether need embed resources in html content when saving or not. Default value is true.
Public propertyFormatTemplates
Gets the format templates.
(Inherited from HeadersFormattingOptions.)
Public propertyHtmlFormatOptions
Gets or sets additional options when saving in HTML format. Default value is HtmlFormatOptions.None.
Public propertyMailMessageSaveType
Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml.
(Inherited from SaveOptions.)
Public propertyRenderedContactFields
Defines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting.
(Inherited from HeadersFormattingOptions.)
Public propertyRenderingHeaders
Gets list of headers for rendering.
(Inherited from HeadersFormattingOptions.)
Public propertyResourceRenderingMode
Provides set various modes of rendering resources in html. Default value EmbedIntoHtml.
Public propertySaveResourceHandler
This handler is called for saving all message attachments if EmbedResources is false.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Events
  NameDescription
Public eventResourceHtmlRendering
Provides customization of rendering resources in html.
See Also