PstDistListGetAsMailMessage 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-DistList" headers set.
This method is useful if you want to work with this DistList 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. This method also stores all DistList members into BodyPlainText property, one entry per line.
See Also