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 |
getPreserveOriginalBoundaries()
Defines whether need keep original boundaries in mail message when saving or not.
|
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 |
setPreserveOriginalBoundaries(boolean value)
Defines whether need keep original boundaries in mail message when saving or not.
|
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, getDefaultEml, getDefaultHtml, getDefaultMhtml, getDefaultMsg, getDefaultMsgUnicode, getMailMessageSaveType, 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.
saveType
- a MailMessageSaveType
object.public int getFileCompatibilityMode()
Defines inner conversions,that are necessarily to be done when saving a message. The default value is FileCompatibilityMode.None.
public void setFileCompatibilityMode(int value)
Defines inner conversions,that are necessarily to be done when saving a message. The default value is FileCompatibilityMode.None.
value
- a int.public boolean getPreserveOriginalBoundaries()
Defines whether need keep original boundaries in mail message when saving or not.
public void setPreserveOriginalBoundaries(boolean value)
Defines whether need keep original boundaries in mail message when saving or not.
value
- a boolean.public 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 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.
value
- a boolean.public boolean getCheckBodyContentEncoding()
Defines whether need check message body content encoding when saving.
public void setCheckBodyContentEncoding(boolean value)
Defines whether need check message body content encoding when saving.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.