public abstract class LoadOptions extends Object
This is an abstract base class for classes that allow the user to specify additional options when loading a MailMessage from a particular format.
| Constructor and Description |
|---|
LoadOptions() |
| Modifier and Type | Method and Description |
|---|---|
MessageFormat |
getMessageFormat()
Represents the mail message format.It can be in eml,msg or mhtml format.
|
Charset |
getPreferredTextEncoding()
Gets or sets preferred encoding for message.
|
boolean |
getPreserveEmbeddedMessageFormat()
Gets or sets a value indicating whether it is necessary to preserve format of
embedded message at loading.
|
boolean |
getRemoveSignature()
Gets or sets a value indicating whether signature will be removed while loading.
|
void |
setPreferredTextEncoding(Charset value)
Gets or sets preferred encoding for message.
|
void |
setPreserveEmbeddedMessageFormat(boolean value)
Gets or sets a value indicating whether it is necessary to preserve format of
embedded message at loading.
|
void |
setRemoveSignature(boolean value)
Gets or sets a value indicating whether signature will be removed while loading.
|
public final Charset getPreferredTextEncoding()
Gets or sets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. The default value is null.
public final void setPreferredTextEncoding(Charset value)
Gets or sets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. The default value is null.
public final MessageFormat getMessageFormat()
Represents the mail message format.It can be in eml,msg or mhtml format. The default value is Eml.
public final boolean getPreserveEmbeddedMessageFormat()
Gets or sets a value indicating whether it is necessary to preserve format of embedded message at loading. By default the value is false.
public final void setPreserveEmbeddedMessageFormat(boolean value)
Gets or sets a value indicating whether it is necessary to preserve format of embedded message at loading. By default the value is false.
public final boolean getRemoveSignature()
Gets or sets a value indicating whether signature will be removed while loading.
Value:true if will be removed; otherwise, false.public final void setRemoveSignature(boolean value)
Gets or sets a value indicating whether signature will be removed while loading.
Value:true if will be removed; otherwise, false.Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.