HeadersFormattingOptions

HeadersFormattingOptions class

Inherits: Aspose::Email::SaveOptions

Allows to specify headers formatting options when saving MailMessage to Mhtml or Html format.

Constructors

NameDescription
HeadersFormattingOptionsInitializes a new instance of this class that can be used to save a MailMessage in the Mhtml format.

Methods

NameDescription
get_AfterHeadersFormatAfter headers format.
get_BeforeHeadersFormatBefore headers format.
get_CssStylesGets the additional css styles for the formatter.
get_DefaultHeaderFormatDefault header line format.
get_DefaultPageHeaderFormatDefault page header format.
get_ExtractHTMLBodyResourcesAsAttachmentsDefines whether extract HTML body resources as attachments or not. Default value is false.
get_FormatTemplatesGets the format templates.
get_RenderedContactFieldsDefines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting .
get_RenderingHeadersGets list of headers for rendering.
get_TimeoutLimits the time in milliseconds of formatting message while saving in Mht. Default value 3 sec.
OnResourceProcessing
OnTimeoutReached
set_AfterHeadersFormatAfter headers format.
set_BeforeHeadersFormatBefore headers format.
set_CssStylesSets the additional css styles for the formatter.
set_DefaultHeaderFormatDefault header line format.
set_DefaultPageHeaderFormatDefault page header format.
set_ExtractHTMLBodyResourcesAsAttachmentsDefines whether extract HTML body resources as attachments or not. Default value is false.
set_RenderedContactFieldsDefines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting .
set_TimeoutLimits the time in milliseconds of formatting message while saving in Mht. Default value 3 sec.
formatTemplates
MhtExportCss
renderingHeaders
ResourceHtmlRenderingProvides customization of rendering resources in html.
TimeoutReachedRaised if timed out while saving to Mhtml.