MsgConvertMsgToMailMessage Method (Stream)
Parses Outlook .MSG data stream into MailMessage object.

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public MailMessage MsgToMailMessage(
	Stream msgStream
)

Parameters

msgStream
Type: System.IOStream
The source stream containing Outlook .MSG data.

Return Value

Type: MailMessage
MailMessage object containing the parsed mail message.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionmsgStream is a null reference (Nothing in Visual Basic).
MailBeeExceptionAn error occurred during reading or parsing message data.
Examples
You can find the example in MsgConvert topic.
See Also