MsgConvertEmlToMsg Method (Stream, Stream)
Converts .EML data (in RFC822 text format) into a stream in Outlook .MSG (OLE2) format with 8-bit encoding.

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public void EmlToMsg(
	Stream emlStream,
	Stream msgStream
)

Parameters

emlStream
Type: System.IOStream
Source stream to read .EML data from.
msgStream
Type: System.IOStream
Destination stream to write .MSG (OLE2) data into.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionemlStream or msgStream is a null reference (Nothing in Visual Basic).
MailBeeExceptionAn error occurred during reading, parsing or saving message data.
Remarks
If you need to have RTF body in the resulting MSG, see HtmlToRtfMethod property for the available options.
See Also