MhtSaveOptions
Contents
[
Hide
]MhtSaveOptions class
Inherits: Aspose::Email::HeadersFormattingOptions
Allows to specify additional options when saving MailMessage to Mhtml format.
The following example shows how to save MailMessage as MHTML.
var eml = MailMessage.Load("Message.eml");
eml.Save("target.mthml", SaveOptions.DefaultMhtml);
Dim eml = MailMessage.Load("Message.eml")
eml.Save("target.mthml", SaveOptions.DefaultMhtml)
Constructors
| Name | Description |
|---|---|
| MhtSaveOptions | Initializes a new instance of this class that can be used to save a MailMessage in the Mhtml format. |
Methods
| Name | Description |
|---|---|
| get_CheckBodyContentEncoding | Defines whether need check message body content encoding when saving. By default the value is false. |
| get_MhtFormatOptions | Defines additional options when saving in MHTML format. Default value is MhtFormatOptions.WriteHeader |
| get_PreserveOriginalBoundaries | Defines whether need keep original boundaries in mail message when saving or not. |
| get_PreserveOriginalDate | Defines whether need keep original date in mail message when saving or not. Default value is true. |
| get_SaveAllHeaders | Defines whether need to save all headers in output mhtml or not. Default value is false. |
| get_SaveAttachments | Gets a value indicating whether to save attachments. |
| get_SavedHeaders | Gets list of headers which will be present in saved mhtml content. Default value is empty list. |
| get_SkipInlineImages | Defines whether skip references on images at saving in mhtml or not. Default value is false. |
| set_CheckBodyContentEncoding | Defines whether need check message body content encoding when saving. By default the value is false. |
| set_MhtFormatOptions | Defines additional options when saving in MHTML format. Default value is MhtFormatOptions.WriteHeader |
| set_PreserveOriginalBoundaries | Defines whether need keep original boundaries in mail message when saving or not. |
| set_PreserveOriginalDate | Defines whether need keep original date in mail message when saving or not. Default value is true. |
| set_SaveAllHeaders | Defines whether need to save all headers in output mhtml or not. Default value is false. |
| set_SaveAttachments | Sets a value indicating whether to save attachments. |
| set_SkipInlineImages | Defines whether skip references on images at saving in mhtml or not. Default value is false. |