MsgConvertMsgToEml Method (Stream, Stream)
Converts Outlook .MSG data (in OLE2 binary format) into .EML data (in RFC822 MIME format).

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public void MsgToEml(
	Stream msgStream,
	Stream emlStream
)

Parameters

msgStream
Type: System.IOStream
Source stream containing .MSG (OLE2) data.
emlStream
Type: System.IOStream
Destination stream to write .EML data into.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionmsgStream or emlStream is a null reference (Nothing in Visual Basic).
MailBeeExceptionAn error occurred during reading, parsing or saving message data.
See Also