FromMailMessage

MapiMessage.FromMailMessage method (1 of 3)

Creates an instance of MapiMessage from the MailMessage.

public static MapiMessage FromMailMessage(string fileName)
Parameter Type Description
fileName String The file name of MailMessage.

Return Value

Returns a MapiMessage instance which is loaded from the MailMessage.

See Also


MapiMessage.FromMailMessage method (2 of 3)

Creates an instance of MapiMessage from the MailMessage.

public static MapiMessage FromMailMessage(MailMessage message)
Parameter Type Description
message MailMessage The MailMessage.

Return Value

Returns a MapiMessage instance which is loaded from the MailMessage.

See Also


MapiMessage.FromMailMessage method (3 of 3)

Creates an instance of MapiMessage from the MailMessage.

public static MapiMessage FromMailMessage(MailMessage message, MapiConversionOptions options)
Parameter Type Description
message MailMessage The MailMessage.
options MapiConversionOptions MapiFromMailMessageOptions MapiConversionOptions

Return Value

MapiMessage that represents Outlook message.

See Also