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: 11.2.0 build 590 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