MsgLoadOptions

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

public class MsgLoadOptions extends LoadOptions

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

Constructors

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

Methods

Method Description
getPreserveTnefAttachments() Controls loading TNEF attachment behavior.
setPreserveTnefAttachments(boolean value) Controls loading TNEF attachment behavior.
getDecodeClearSignedContent() Gets or sets a value indicating whether clear-signed message will be decoded.
setDecodeClearSignedContent(boolean value) Gets or sets a value indicating whether clear-signed message will be decoded.
getDecodeSignedContent() Gets or sets a value indicating whether signed message will be decoded.
setDecodeSignedContent(boolean value) Gets or sets a value indicating whether signed message will be decoded.
getKeepOriginalEmailAddresses() Gets or sets a value indicating whether need keep original email address.
setKeepOriginalEmailAddresses(boolean value) Gets or sets a value indicating whether need keep original email address.
getPreserveRtfContent() Gets or sets a value indicating whether need keep rtf body in MailMessage.
setPreserveRtfContent(boolean value) Gets or sets a value indicating whether need keep rtf body in MailMessage.

MsgLoadOptions()

public MsgLoadOptions()

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

getPreserveTnefAttachments()

public final boolean getPreserveTnefAttachments()

Controls loading TNEF attachment behavior.

Returns: boolean

setPreserveTnefAttachments(boolean value)

public final void setPreserveTnefAttachments(boolean value)

Controls loading TNEF attachment behavior.

Parameters:

Parameter Type Description
value boolean

getDecodeClearSignedContent()

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 ```.

Returns: boolean

setDecodeClearSignedContent(boolean value)

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 ```.

Parameters:

Parameter Type Description
value boolean

getDecodeSignedContent()

public final boolean getDecodeSignedContent()

Gets or sets a value indicating whether signed message will be decoded.

Value: ``` true ``` if signed message will be decoded; otherwise, ``` false ```.

Returns: boolean

setDecodeSignedContent(boolean value)

public final void setDecodeSignedContent(boolean value)

Gets or sets a value indicating whether signed message will be decoded.

Value: ``` true ``` if signed message will be decoded; otherwise, ``` false ```.

Parameters:

Parameter Type Description
value boolean

getKeepOriginalEmailAddresses()

public final boolean getKeepOriginalEmailAddresses()

Gets or sets a value indicating whether need keep original email address.

Returns: boolean

setKeepOriginalEmailAddresses(boolean value)

public final void setKeepOriginalEmailAddresses(boolean value)

Gets or sets a value indicating whether need keep original email address.

Parameters:

Parameter Type Description
value boolean

getPreserveRtfContent()

public final boolean getPreserveRtfContent()

Gets or sets a value indicating whether need keep rtf body in MailMessage.

Returns: boolean

setPreserveRtfContent(boolean value)

public final void setPreserveRtfContent(boolean value)

Gets or sets a value indicating whether need keep rtf body in MailMessage.

Parameters:

Parameter Type Description
value boolean