MhtSaveOptions Class

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

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public class MhtSaveOptions : SaveOptions

The MhtSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodMhtSaveOptions
Initializes a new instance of this class that can be used to save a MailMessage in the Mhtml format.
Properties
  NameDescription
Public propertyCheckBodyContentEncoding
Defines whether need check message body content encoding when saving.
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 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 propertyMhtFormatOptions
Defines additional options when saving in MHTML format. Default value is MhtFormatOptions.WriteHeader | MhtFormatOptions.WriteOutlineAttachments.
Public propertyPreserveOriginalBoundaries
Defines whether need keep original boundaries in mail message when saving or not.
Public propertyPreserveOriginalDate
Defines whether need keep original date in mail message when saving or not. Default value is true.
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.
Public propertySaveAttachments
Gets or sets a value indicating whether to save attachments.
Public propertySkipInlineImages
Defines whether skip references on images at saving in mhtml or not. Default value 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.)
See Also