EmlSaveOptions

Inheritance: java.lang.Object, com.aspose.email.SaveOptions

public class EmlSaveOptions extends SaveOptions

Allows to specify additional options when saving MailMessage to Eml and Emlx format.

Constructors

Constructor 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.

Methods

Method Description
getFileCompatibilityMode() Defines inner conversions,that are necessarily to be done when saving a message.
setFileCompatibilityMode(int value) Defines inner conversions,that are necessarily to be done when saving a message.
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.
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.
getCheckBodyContentEncoding() Defines whether need check message body content encoding when saving.
setCheckBodyContentEncoding(boolean value) Defines whether need check message body content encoding when saving.
getPreserveEmbeddedMessageFormat() Gets or sets a value indicating whether it is necessary to preserve format of embedded message at converting to MailMessage.
setPreserveEmbeddedMessageFormat(boolean value) Gets or sets a value indicating whether it is necessary to preserve format of embedded message at converting to MailMessage.

EmlSaveOptions(MailMessageSaveType saveType)

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.

Parameters:

Parameter Type Description
saveType MailMessageSaveType

getFileCompatibilityMode()

public final int getFileCompatibilityMode()

Defines inner conversions,that are necessarily to be done when saving a message. The default value is FileCompatibilityMode.None.

Returns: int

setFileCompatibilityMode(int value)

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.

Parameters:

Parameter Type Description
value int

getPreserveSignedContent()

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.

Returns: boolean

setPreserveSignedContent(boolean value)

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.

Parameters:

Parameter Type Description
value boolean

getCheckBodyContentEncoding()

public final boolean getCheckBodyContentEncoding()

Defines whether need check message body content encoding when saving.

Returns: boolean

setCheckBodyContentEncoding(boolean value)

public final void setCheckBodyContentEncoding(boolean value)

Defines whether need check message body content encoding when saving.

Parameters:

Parameter Type Description
value boolean

getPreserveEmbeddedMessageFormat()

public final boolean getPreserveEmbeddedMessageFormat()

Gets or sets a value indicating whether it is necessary to preserve format of embedded message at converting to MailMessage.

Returns: boolean

setPreserveEmbeddedMessageFormat(boolean value)

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.

Parameters:

Parameter Type Description
value boolean