Aspose.Email.Examples.CSharp.Email.Outlook.ConvertEMLToMSG.Run C# (CSharp) 메소드

Run() 공개 정적인 메소드

public static Run ( ) : void
리턴 void
        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
        }
    }
ConvertEMLToMSG