HtmlLoadOptions

Inheritance: java.lang.Object, com.aspose.email.LoadOptions

public class HtmlLoadOptions extends LoadOptions

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

Constructors

Constructor Description
HtmlLoadOptions() Initializes a new instance of this class that can be used to loading MailMessage from Html format.

Methods

Method Description
getPathToResources() Path to directory with resources files.
setPathToResources(String value) Path to directory with resources files.
shouldAddPlainTextView() Specifies whether to add a text representation of the body or not.
shouldAddPlainTextView(boolean value) Specifies whether to add a text representation of the body or not.

HtmlLoadOptions()

public HtmlLoadOptions()

Initializes a new instance of this class that can be used to loading MailMessage from Html format.

getPathToResources()

public final String getPathToResources()

Path to directory with resources files.

Returns: java.lang.String

setPathToResources(String value)

public final void setPathToResources(String value)

Path to directory with resources files.

Parameters:

Parameter Type Description
value java.lang.String

shouldAddPlainTextView()

public final boolean shouldAddPlainTextView()

Specifies whether to add a text representation of the body or not. Default value is false.

Returns: boolean

shouldAddPlainTextView(boolean value)

public final void shouldAddPlainTextView(boolean value)

Specifies whether to add a text representation of the body or not. Default value is false.

Parameters:

Parameter Type Description
value boolean