Class LoadOptions
Contents
[
Hide
]LoadOptions class
Serves as the abstract base class for format-specific options when loading MailMessage from various email formats (EML, EMLX, HTML, MHTML, etc.). This class provides common configuration properties such as text encoding, embedded message format preservation, and signature handling.
public abstract class LoadOptions
Properties
| Name | Description |
|---|---|
| MessageFormat { get; } | Represents the mail message format.It can be in eml,msg or mhtml format. The default value is Eml. |
| PreferredTextEncoding { get; set; } | Gets or sets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. The default value is null. |
| PreserveEmbeddedMessageFormat { get; set; } | Gets or sets a value indicating whether it is necessary to preserve format of embedded message at loading. By default the value is false. |
| RemoveSignature { get; set; } | Gets or sets a value indicating whether signature will be removed while loading. |
Remarks
This class is designed to be inherited by concrete format-specific classes like EmlLoadOptions, EmlxLoadOptions, and HtmlLoadOptions. Do not instantiate this class directly. Use the format-specific subclasses to access format-specific loading options.
See Also
- namespace Aspose.Email
- assembly Aspose.Email