MailConversionOptions
Inheritance: java.lang.Object
public class MailConversionOptions
Specify additional options when converting from MapiMessage to MailMessage.
Constructors
Constructor | Description |
---|---|
MailConversionOptions() |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getConvertAsTnef() | Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment. |
getKeepOriginalEmailAddresses() | Gets or sets a value indicating whether need keep original email address. |
getPreserveEmbeddedMessageFormat() | Gets or sets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage. |
getPreserveRtfContent() | Gets or sets a value indicating whether need keep rtf body in MailMessage. |
getTimeout() | Limits the time in milliseconds of formatting message while converting. |
getTimeoutReachedHandler() | Raised if timed out while saving to MailMessage. |
hashCode() | |
notify() | |
notifyAll() | |
setConvertAsTnef(boolean value) | Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment. |
setKeepOriginalEmailAddresses(boolean value) | Gets or sets a value indicating whether need keep original email address. |
setPreserveEmbeddedMessageFormat(boolean value) | Gets or sets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage. |
setPreserveRtfContent(boolean value) | Gets or sets a value indicating whether need keep rtf body in MailMessage. |
setTimeout(int value) | Limits the time in milliseconds of formatting message while converting. |
setTimeoutReachedHandler(TimeoutReachedHandler value) | Raised if timed out while saving to MailMessage. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
MailConversionOptions()
public MailConversionOptions()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getConvertAsTnef()
public final boolean getConvertAsTnef()
Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
Returns: boolean
getKeepOriginalEmailAddresses()
public final boolean getKeepOriginalEmailAddresses()
Gets or sets a value indicating whether need keep original email address.
Returns: boolean
getPreserveEmbeddedMessageFormat()
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.
Generally, embedded messages have the same format (EML or MSG) as the underlying message. By default, when converting from MSG to EML and vice versa, embedded messages are also converted to the target format. Setting the property to true preserves the original format of the embedded messages.
Returns: boolean
getPreserveRtfContent()
public final boolean getPreserveRtfContent()
Gets or sets a value indicating whether need keep rtf body in MailMessage.
Returns: boolean
getTimeout()
public final int getTimeout()
Limits the time in milliseconds of formatting message while converting. Default value 3 sec.
Returns: int
getTimeoutReachedHandler()
public final TimeoutReachedHandler getTimeoutReachedHandler()
Raised if timed out while saving to MailMessage.
Returns: TimeoutReachedHandler
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
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 |
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 |
setPreserveEmbeddedMessageFormat(boolean value)
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.
Generally, embedded messages have the same format (EML or MSG) as the underlying message. By default, when converting from MSG to EML and vice versa, embedded messages are also converted to the target format. Setting the property to true preserves the original format of the embedded messages.
Parameters:
Parameter | Type | Description |
---|---|---|
value | 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 |
setTimeout(int value)
public final void setTimeout(int value)
Limits the time in milliseconds of formatting message while converting. Default value 3 sec.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setTimeoutReachedHandler(TimeoutReachedHandler value)
public final void setTimeoutReachedHandler(TimeoutReachedHandler value)
Raised if timed out while saving to MailMessage.
Parameters:
Parameter | Type | Description |
---|---|---|
value | TimeoutReachedHandler |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |