MapiConversionOptions

MapiConversionOptions class

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

public class MapiConversionOptions

Constructors

Name Description
MapiConversionOptions() Initializes a new instance of the MapiConversionOptions class.
MapiConversionOptions(OutlookMessageFormat) Initializes a new instance of the MapiConversionOptions class with specified OutlookMessageFormat.

Properties

Name Description
static ASCIIFormat { get; } Returns MapiConversionOptions with OutlookMessageFormat is ASCII(PreserveSignature is False, UseBodyCompression is False).
static UnicodeFormat { get; } Returns MapiConversionOptions with OutlookMessageFormat is Unicode(PreserveSignature is False, UseBodyCompression is False).
CustomProgressHandler { get; set; }
ForcedRtfBodyForAppointment { get; set; } Gets or sets a value indicating whether it is necessary to use forced RTF body for an appointment. Default value is true.
Format { get; set; } Represents outlook message format.
PreserveEmbeddedMessageFormat { get; set; } Gets 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.
PreserveOriginalAddresses { get; set; } Gets or sets a value indicating whether it is necessary to keep original value of mail addresses (without validation).
PreserveOriginalDates { get; set; } Gets or sets a value indicating whether it is necessary to generate new saving and modification dates when converting a message.
PreserveSignature { get; set; } Set to true, if signature is to be preserved.
UseBodyCompression { get; set; } Set to true, if need RTF body compression.

See Also