MsgConvertMailMessageToMsg Method (MailMessage, Stream) |
Saves the specified
MailMessage into a stream in Outlook .MSG (OLE2) format.
Namespace: MailBee.OutlookAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public void MailMessageToMsg(
MailMessage msg,
Stream msgStream
)
Public Sub MailMessageToMsg (
msg As MailMessage,
msgStream As Stream
)
Parameters
- msg
- Type: MailBee.MimeMailMessage
MailMessage to be saved. - msgStream
- Type: System.IOStream
The target stream where to save message data in Outlook .MSG format.
Exceptions Remarks If you need to have RTF body in the resulting MSG, see
HtmlToRtfMethod property for the available options.
See Also