Class MailConversionOptions

MailConversionOptions class

Specify additional options when converting from MapiMessage to MailMessage.

public class MailConversionOptions

Constructors

NameDescription
MailConversionOptions()The default constructor.

Properties

NameDescription
ConvertAsTnef { get; set; }Set to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
KeepOriginalEmailAddresses { get; set; }Gets or sets a value indicating whether need keep original email address.
PreserveEmbeddedMessageFormat { get; set; }Gets or sets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage. By default the value is false.
PreserveRtfContent { get; set; }Gets or sets a value indicating whether need keep rtf body in MailMessage.
Timeout { get; set; }Limits the time in milliseconds of formatting message while converting. Default value 3 sec.

Events

NameDescription
event TimeoutReachedRaised if timed out while converting to MailMessage.

See Also