public class MsgLoadOptions extends LoadOptions
Allows to specify additional options when loading MailMessage from Msg format.
Constructor and Description |
---|
MsgLoadOptions()
Initializes a new instance of this class that can be used to loading MailMessage from Msg format.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getDecodeClearSignedContent()
Gets or sets a value indicating whether clear-signed message will be decoded.
|
boolean |
getKeepOriginalEmailAddresses()
Gets or sets a value indicating whether need keep original email address.
|
boolean |
getPreserveTnefAttachments()
Controls loading TNEF attachment behavior.
|
void |
setDecodeClearSignedContent(boolean value)
Gets or sets a value indicating whether clear-signed message will be decoded.
|
void |
setKeepOriginalEmailAddresses(boolean value)
Gets or sets a value indicating whether need keep original email address.
|
void |
setPreserveTnefAttachments(boolean value)
Controls loading TNEF attachment behavior.
|
getMessageFormat, getPrefferedTextEncoding, getPreserveEmbeddedMessageFormat, setPrefferedTextEncoding, setPreserveEmbeddedMessageFormat
public MsgLoadOptions()
Initializes a new instance of this class that can be used to loading MailMessage from Msg format.
public final boolean getPreserveTnefAttachments()
Controls loading TNEF attachment behavior.
public final void setPreserveTnefAttachments(boolean value)
Controls loading TNEF attachment behavior.
public final boolean getDecodeClearSignedContent()
Gets or sets a value indicating whether clear-signed message will be decoded.
Value:true
if clear-signed message will be decoded; otherwise, false
.public final void setDecodeClearSignedContent(boolean value)
Gets or sets a value indicating whether clear-signed message will be decoded.
Value:true
if clear-signed message will be decoded; otherwise, false
.public final boolean getKeepOriginalEmailAddresses()
Gets or sets a value indicating whether need keep original email address.
public final void setKeepOriginalEmailAddresses(boolean value)
Gets or sets a value indicating whether need keep original email address.