com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class EmlSaveOptions



  • public class EmlSaveOptions
    extends SaveOptions

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

    • Constructor Detail

      • EmlSaveOptions

        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:
        saveType - a MailMessageSaveType object.
    • Method Detail

      • getFileCompatibilityMode

        public int getFileCompatibilityMode()

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

        Returns:
        a int.
      • setFileCompatibilityMode

        public void setFileCompatibilityMode(int value)

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

        Parameters:
        value - a int.
      • getPreserveOriginalBoundaries

        public boolean getPreserveOriginalBoundaries()

        Defines whether need keep original boundaries in mail message when saving or not.

        Returns:
        a boolean.
      • setPreserveOriginalBoundaries

        public void setPreserveOriginalBoundaries(boolean value)

        Defines whether need keep original boundaries in mail message when saving or not.

        Parameters:
        value - a boolean.
      • getPreserveSignedContent

        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.

        Returns:
        a boolean.
      • setPreserveSignedContent

        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.

        Parameters:
        value - a boolean.
      • getCheckBodyContentEncoding

        public boolean getCheckBodyContentEncoding()

        Defines whether need check message body content encoding when saving.

      • setCheckBodyContentEncoding

        public void setCheckBodyContentEncoding(boolean value)

        Defines whether need check message body content encoding when saving.