public static void Run()
{
//ExStart:ConvertEMLToMSG
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
// Load mail message
MailMessage message = MailMessage.Load(dataDir + "Message.eml", new EmlLoadOptions());
// Save as MSG
message.Save(dataDir + "ConvertEMLToMSG_out.msg", SaveOptions.DefaultMsgUnicode);
//ExEnd:ConvertEMLToMSG
}
}