public class HtmlLoadOptions extends LoadOptions
Allows to specify additional options when loading MailMessage from Html format.
Constructor and Description |
---|
HtmlLoadOptions()
Initializes a new instance of this class that can be used to loading MailMessage from Html format.
|
Modifier and Type | Method and Description |
---|---|
String |
getPathToResources()
Path to directory with resources files.
|
void |
setPathToResources(String value)
Path to directory with resources files.
|
boolean |
shouldAddPlainTextView()
Specifies whether to add a text representation of the body or not.
|
void |
shouldAddPlainTextView(boolean value)
Specifies whether to add a text representation of the body or not.
|
getMessageFormat, getPrefferedTextEncoding, getPreserveEmbeddedMessageFormat, setPrefferedTextEncoding, setPreserveEmbeddedMessageFormat
public HtmlLoadOptions()
Initializes a new instance of this class that can be used to loading MailMessage from Html format.
public final String getPathToResources()
Path to directory with resources files.
public final void setPathToResources(String value)
Path to directory with resources files.
public final boolean shouldAddPlainTextView()
Specifies whether to add a text representation of the body or not. Default value is false.
public final void shouldAddPlainTextView(boolean value)
Specifies whether to add a text representation of the body or not. Default value is false.