HeadersFormattingOptions Class

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

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.8
Syntax
public abstract class HeadersFormattingOptions : SaveOptions

The HeadersFormattingOptions type exposes the following members.

Constructors
  NameDescription
Public methodHeadersFormattingOptions
Initializes a new instance of this class that can be used to save a MailMessage in the Mhtml format.
Properties
  NameDescription
Public propertyAfterHeadersFormat
After headers format.
Public propertyBeforeHeadersFormat
Before headers format.
Public propertyCssStyles
Gets or sets the additional css styles for the formatter.
Public propertyCustomProgressHandler
Represents method that usually supplied by calling side and handles progress events.
(Inherited from SaveOptions.)
Public propertyDefaultHeaderFormat
Default header line format.
Public propertyDefaultPageHeaderFormat
Default page header format.
Public propertyFormatTemplates
Gets the format templates.
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.
Public propertyRenderingHeaders
Gets list of headers for rendering.
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also