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.
|
int |
getTimeout()
Limits the time in milliseconds of formatting message while converting.
|
TimeoutReachedHandler |
getTimeoutReachedHandler()
Raised if timed out while saving to 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.
|
void |
setTimeout(int value)
Limits the time in milliseconds of formatting message while converting.
|
void |
setTimeoutReachedHandler(TimeoutReachedHandler value)
Raised if timed out while saving to MailMessage.
|
public final TimeoutReachedHandler getTimeoutReachedHandler()
Raised if timed out while saving to MailMessage.
public final void setTimeoutReachedHandler(TimeoutReachedHandler value)
Raised if timed out while saving to 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.
public final int getTimeout()
Limits the time in milliseconds of formatting message while converting. Default value 3 sec.
public final void setTimeout(int value)
Limits the time in milliseconds of formatting message while converting. Default value 3 sec.
Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.