Class MapiConversionOptions

MapiConversionOptions class

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

public class MapiConversionOptions

Constructors

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

Properties

NameDescription
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.
PreserveEmptyDates { get; set; }Gets or sets a value indicating whether it is necessary to generate new saving and modification dates when converting a message.
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.
RemoveSignature { get; set; }Gets or sets a value indicating whether signature will be removed while converting.
UseBodyCompression { get; set; }Set to true, if need RTF body compression.

See Also