public class MailConversionOptions extends Object
Specify additional options when converting from MapiMessage to MailMessage.
| Constructor and Description |
|---|
MailConversionOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getConvertAsTnef()
Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
|
boolean |
getKeepOriginalEmailAddresses()
Gets or sets a value indicating whether need keep original email address.
|
boolean |
getPreserveEmbeddedMessageFormat()
Gets or sets a value indicating whether it is necessary to preserve MSG format of
embedded message at converting to MailMessage.
|
boolean |
getPreserveRtfContent()
Gets or sets a value indicating whether need keep rtf body in MailMessage.
|
void |
setConvertAsTnef(boolean value)
Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
|
void |
setKeepOriginalEmailAddresses(boolean value)
Gets or sets a value indicating whether need keep original email address.
|
void |
setPreserveEmbeddedMessageFormat(boolean value)
Gets or sets a value indicating whether it is necessary to preserve MSG format of
embedded message at converting to MailMessage.
|
void |
setPreserveRtfContent(boolean value)
Gets or sets a value indicating whether need keep rtf body in MailMessage.
|
public final boolean getConvertAsTnef()
Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
public final void setConvertAsTnef(boolean value)
Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
public final boolean getPreserveEmbeddedMessageFormat()
Gets or sets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage. By default the value is false.
public final void setPreserveEmbeddedMessageFormat(boolean value)
Gets or sets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage. By default the value is 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.
public final boolean getPreserveRtfContent()
Gets or sets a value indicating whether need keep rtf body in MailMessage.
public final void setPreserveRtfContent(boolean value)
Gets or sets a value indicating whether need keep rtf body in MailMessage.
Copyright (c) 2008-2023 Aspose Pty Ltd. All Rights Reserved.