public class EmlSaveOptions extends SaveOptions
Allows to specify additional options when saving MailMessage to Eml and Emlx format.
Constructor and Description |
---|
EmlSaveOptions(MailMessageSaveType saveType)
Initializes a new instance of this class that can be used to save a MailMessage in the Eml and Emlx format.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCheckBodyContentEncoding()
Defines whether need check message body content encoding when saving.
|
int |
getFileCompatibilityMode()
Defines inner conversions,that are necessarily to be done when saving a message.
|
boolean |
getPreserveEmbeddedMessageFormat()
Gets or sets a value indicating whether it is necessary to preserve format of
embedded message at converting to MailMessage.
|
boolean |
getPreserveOriginalBoundaries()
Deprecated.
|
boolean |
getPreserveSignedContent()
Gets or sets a value indicating whether it is necessary to save signed message
without changes of content to provide correctly structure of digital sign.
|
void |
setCheckBodyContentEncoding(boolean value)
Defines whether need check message body content encoding when saving.
|
void |
setFileCompatibilityMode(int value)
Defines inner conversions,that are necessarily to be done when saving a message.
|
void |
setPreserveEmbeddedMessageFormat(boolean value)
Gets or sets a value indicating whether it is necessary to preserve format of
embedded message at converting to MailMessage.
|
void |
setPreserveOriginalBoundaries(boolean value)
Deprecated.
|
void |
setPreserveSignedContent(boolean value)
Gets or sets a value indicating whether it is necessary to save signed message
without changes of content to provide correctly structure of digital sign.
|
createSaveOptions, getCustomProgressHandler, getDefaultEml, getDefaultHtml, getDefaultMhtml, getDefaultMsg, getDefaultMsgUnicode, getMailMessageSaveType, setCustomProgressHandler, setMailMessageSaveType
public EmlSaveOptions(MailMessageSaveType saveType)
Initializes a new instance of this class that can be used to save a MailMessage in the Eml and Emlx format.
public final int getFileCompatibilityMode()
Defines inner conversions,that are necessarily to be done when saving a message. The default value is FileCompatibilityMode.None.
public final void setFileCompatibilityMode(int value)
Defines inner conversions,that are necessarily to be done when saving a message. The default value is FileCompatibilityMode.None.
@Deprecated public final boolean getPreserveOriginalBoundaries()
Defines whether need keep original boundaries in mail message when saving or not.
@Deprecated public final void setPreserveOriginalBoundaries(boolean value)
Defines whether need keep original boundaries in mail message when saving or not.
public final boolean getPreserveSignedContent()
Gets or sets a value indicating whether it is necessary to save signed message without changes of content to provide correctly structure of digital sign.
public final void setPreserveSignedContent(boolean value)
Gets or sets a value indicating whether it is necessary to save signed message without changes of content to provide correctly structure of digital sign.
public final boolean getCheckBodyContentEncoding()
Defines whether need check message body content encoding when saving.
public final void setCheckBodyContentEncoding(boolean value)
Defines whether need check message body content encoding when saving.
public final boolean getPreserveEmbeddedMessageFormat()
Gets or sets a value indicating whether it is necessary to preserve format of embedded message at converting to MailMessage.
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.