com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class MapiConversionOptions



  • public class MapiConversionOptions
    extends Object

    This class allows the user to specify additional options when converting from MailMessage to MapiMessage.

    • Constructor Detail

      • MapiConversionOptions

        public MapiConversionOptions()

        Initializes a new instance of the MapiConversionOptions class.

      • MapiConversionOptions

        public MapiConversionOptions(int format)

        Initializes a new instance of the MapiConversionOptions class with specified OutlookMessageFormat.

        Parameters:
        format - Format of MapiMessage OutlookMessageFormat.
    • Method Detail

      • getFormat

        public int getFormat()

        Represents outlook message format.

      • setFormat

        public void setFormat(int value)

        Represents outlook message format.

      • getPreserveSignature

        public boolean getPreserveSignature()

        Set to true, if signature is to be preserved.

      • setPreserveSignature

        public void setPreserveSignature(boolean value)

        Set to true, if signature is to be preserved.

      • getUseBodyCompression

        public boolean getUseBodyCompression()

        Set to true, if need RTF body compression.

      • setUseBodyCompression

        public void setUseBodyCompression(boolean value)

        Set to true, if need RTF body compression.

      • getPreserveOriginalDates

        public boolean getPreserveOriginalDates()

        Gets or sets a value indicating whether it is necessary to generate new saving and modification dates when converting a message.

      • setPreserveOriginalDates

        public void setPreserveOriginalDates(boolean value)

        Gets or sets a value indicating whether it is necessary to generate new saving and modification dates when converting a message.

      • getPreserveOriginalAddresses

        public boolean getPreserveOriginalAddresses()

        Gets or sets a value indicating whether it is necessary to keep original value of mail addresses (without validation).

      • setPreserveOriginalAddresses

        public void setPreserveOriginalAddresses(boolean value)

        Gets or sets a value indicating whether it is necessary to keep original value of mail addresses (without validation).

      • getPreserveEmbeddedMessageFormat

        public boolean getPreserveEmbeddedMessageFormat()

        Gets or sets a value indicating whether it is necessary to preserve conversion .eml attachment to .msg attachment.

      • setPreserveEmbeddedMessageFormat

        public void setPreserveEmbeddedMessageFormat(boolean value)

        Gets or sets a value indicating whether it is necessary to preserve conversion .eml attachment to .msg attachment.

      • getASCIIFormat

        public static MapiConversionOptions getASCIIFormat()

        Returns MapiConversionOptions with OutlookMessageFormat is ASCII(PreserveSignature is False, UseBodyCompression is False).

      • getUnicodeFormat

        public static MapiConversionOptions getUnicodeFormat()

        Returns MapiConversionOptions with OutlookMessageFormat is Unicode(PreserveSignature is False, UseBodyCompression is False).