MsgConvertMsgToEml Method (String, String) |
Converts Outlook .MSG file (in OLE2 binary format) into .EML file (in RFC822 MIME format).
Namespace: MailBee.OutlookAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public void MsgToEml(
string msgFilename,
string emlFilename
)
Public Sub MsgToEml (
msgFilename As String,
emlFilename As String
)
Parameters
- msgFilename
- Type: SystemString
The path to the source Outlook .MSG file. - emlFilename
- Type: SystemString
The path to the target .EML file.
Exceptions Examples This sample converts .MSG file into .EML file.
using MailBee;
using MailBee.Outlook;
MsgConvert conv = new MsgConvert();
conv.MsgToEml(@"C:\Temp\test.msg", @"C:\Temp\test.eml");
Imports MailBee
Imports MailBee.Outlook
Dim conv As MsgConvert = New MsgConvert
conv.MsgToEml("C:\Temp\test.msg", "C:\Temp\test.eml")
See Also