HtmlLoadOptions Class

Allows to specify additional options when loading MailMessage from Html format.
Inheritance Hierarchy

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public class HtmlLoadOptions : LoadOptions

The HtmlLoadOptions type exposes the following members.

Constructors
  NameDescription
Public methodHtmlLoadOptions
Initializes a new instance of this class that can be used to loading MailMessage from Html format.
Properties
  NameDescription
Public propertyMessageFormat
Represents the mail message format.It can be in eml,msg or mhtml format. The default value is Eml.
(Inherited from LoadOptions.)
Public propertyPathToResources
Path to directory with resources files.
Public propertyPrefferedTextEncoding
Gets or sets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. The default value is null.
(Inherited from LoadOptions.)
Public propertyPreserveEmbeddedMessageFormat
Gets or sets a value indicating whether it is necessary to preserve format of embedded message at loading in MailMessage.
(Inherited from LoadOptions.)
Public propertyShouldAddPlainTextView
Specifies whether to add a text representation of the body or not. Default value is false.
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