MailConversionOptions

MailConversionOptions class

Specify additional options when converting from MapiMessage to MailMessage .

Constructors

NameDescription
MailConversionOptions

Methods

NameDescription
get_ConvertAsTnefSet to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
get_KeepOriginalEmailAddressesGets a value indicating whether need keep original email address.
get_PreserveEmbeddedMessageFormatGets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage . By default the value is false.
get_PreserveRtfContentGets a value indicating whether need keep rtf body in MailMessage .
get_TimeoutLimits the time in milliseconds of formatting message while converting. Default value 3 sec.
OnTimeoutReached
set_ConvertAsTnefSet to true to import the MapiMessage information into a MailMessage object with MapiMessage as TNEF attachment.
set_KeepOriginalEmailAddressesSets a value indicating whether need keep original email address.
set_PreserveEmbeddedMessageFormatSets a value indicating whether it is necessary to preserve MSG format of embedded message at converting to MailMessage . By default the value is false.
set_PreserveRtfContentSets a value indicating whether need keep rtf body in MailMessage .
set_TimeoutLimits the time in milliseconds of formatting message while converting. Default value 3 sec.
TimeoutReachedRaised if timed out while converting to MailMessage .