PstItemGetAsMailMessage Method
Gets this PST object as MailMessage object.

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public virtual MailMessage GetAsMailMessage()

Return Value

Type: MailMessage
A MailMessage object with "X-Pst" headers set.
This method is useful if you want to work with this item as a MailMessage object (for instance, if you want to save it into an .EML file). This method produces an empty mail message and adds all the PstFields as the message headers.
See Also