MapiConversionOptions

MapiConversionOptions class

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

The MapiConversionOptions type exposes the following members:

Constructors

NameDescription
MapiConversionOptions()Initializes a new instance of the MapiConversionOptions class.
MapiConversionOptions(format)Initializes a new instance of the MapiConversionOptions class

Properties

NameDescription
formatRepresents outlook message format.
preserve_signatureSet to true, if signature is to be preserved.
remove_signatureGets or sets a value indicating whether signature will be removed while converting.
use_body_compressionSet to true, if need RTF body compression.
preserve_original_datesGets or sets a value indicating whether it is necessary to generate
new saving and modification dates when converting a message.
preserve_empty_datesGets or sets a value indicating whether it is necessary to generate
new saving and modification dates when converting a message.
preserve_original_addressesGets or sets a value indicating whether it is necessary to keep
original value of mail addresses (without validation).
preserve_embedded_message_formatGets or sets a value indicating whether it is necessary to preserve EML format of
embedded message at converting to MapiMessage. By default the value is false.
ascii_formatReturns MapiConversionOptions with OutlookMessageFormat is ASCII(PreserveSignature is False, UseBodyCompression is False).
unicode_formatReturns MapiConversionOptions with OutlookMessageFormat is Unicode(PreserveSignature is False, UseBodyCompression is False).
forced_rtf_body_for_appointmentGets or sets a value indicating whether it is necessary to use forced RTF body for an appointment.
Default value is true.

See Also