MailConversionOptions

Inheritance: java.lang.Object

public class MailConversionOptions

Specify additional options when converting from MapiMessage to MailMessage.

Constructors

Constructor Description
MailConversionOptions()

Methods

Method Description
getConvertAsTnef() Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
setConvertAsTnef(boolean value) Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
getPreserveEmbeddedMessageFormat() Gets or sets a value indicating whether it is necessary to preserve format of embedded message at converting to MailMessage.
setPreserveEmbeddedMessageFormat(boolean value) Gets or sets a value indicating whether it is necessary to preserve format of embedded message at converting to MailMessage.
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.

MailConversionOptions()

public MailConversionOptions()

getConvertAsTnef()

public final boolean getConvertAsTnef()

Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.

Returns: boolean

setConvertAsTnef(boolean value)

public final void setConvertAsTnef(boolean value)

Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.

Parameters:

Parameter Type Description
value boolean

getPreserveEmbeddedMessageFormat()

public final boolean getPreserveEmbeddedMessageFormat()

Gets or sets a value indicating whether it is necessary to preserve format of embedded message at converting to MailMessage.

Returns: boolean

setPreserveEmbeddedMessageFormat(boolean value)

public final void setPreserveEmbeddedMessageFormat(boolean value)

Gets or sets a value indicating whether it is necessary to preserve format of embedded message at converting to MailMessage.

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