PstMessageGetAsMailMessage Method
Gets this PST object as MailMessage object.

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public override MailMessage GetAsMailMessage()

Return Value

Type: MailMessage
A MailMessage object with "X-Msg" headers set.
This method is useful if you want to work with this Message item as a MailMessage object and have all the special message properties (which are stored in .PST file) be available as message headers. If you want to work with these values separately and do not include them into the message headers, use PstFields property to access these values and GetAsMailMessage(Boolean) overload to get the mail message without special headers.
See Also