public class MsgLoadOptions extends LoadOptions
Allows to specify additional options when loading MailMessage from Msg format.
| Constructor and Description |
|---|
MsgLoadOptions()
Initializes a new instance of this class that can be used to loading MailMessage from Msg format.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDecodeSignedContent()
Deprecated.
This property is obsolete and will be removed soon. Please, use LoadOptions.RemoveSignature instead.
|
boolean |
getKeepOriginalEmailAddresses()
Gets or sets a value indicating whether need keep original email address.
|
boolean |
getLeaveOpen()
Gets or sets a value indicating whether to keep the underlying stream open after load.
|
boolean |
getPreserveRtfContent()
Gets or sets a value indicating whether need keep rtf body in MailMessage.
|
boolean |
getPreserveTnefAttachments()
Controls loading TNEF attachment behaviour.
|
int |
getTimeout()
Limits the time in milliseconds of formatting message while converting.
|
void |
setDecodeSignedContent(boolean value)
Deprecated.
This property is obsolete and will be removed soon. Please, use LoadOptions.RemoveSignature instead.
|
void |
setKeepOriginalEmailAddresses(boolean value)
Gets or sets a value indicating whether need keep original email address.
|
void |
setLeaveOpen(boolean value)
Gets or sets a value indicating whether to keep the underlying stream open after load.
|
void |
setPreserveRtfContent(boolean value)
Gets or sets a value indicating whether need keep rtf body in MailMessage.
|
void |
setPreserveTnefAttachments(boolean value)
Controls loading TNEF attachment behaviour.
|
void |
setTimeout(int value)
Limits the time in milliseconds of formatting message while converting.
|
getMessageFormat, getPreferredTextEncoding, getPreserveEmbeddedMessageFormat, getRemoveSignature, setPreferredTextEncoding, setPreserveEmbeddedMessageFormat, setRemoveSignaturepublic MsgLoadOptions()
Initializes a new instance of this class that can be used to loading MailMessage from Msg format.
public final boolean getPreserveTnefAttachments()
Controls loading TNEF attachment behaviour. By default the value is false.
public final void setPreserveTnefAttachments(boolean value)
Controls loading TNEF attachment behaviour. By default the value is false.
@Deprecated 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.@Deprecated 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.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.
public final boolean getLeaveOpen()
Gets or sets a value indicating whether to keep the underlying stream open after load. Default value is false.
public final void setLeaveOpen(boolean value)
Gets or sets a value indicating whether to keep the underlying stream open after load. Default value is false.
Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.