且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用C#将.msg文件导入Outlook自定义文件夹

更新时间:2022-01-30 21:58:19

Outlook.Application objOutlook = new Outlook.Application(); Outlook.MailItem email =(Outlook.MailItem)objOutlook.Session.OpenSharedItem(strFilePath); Outlook.MailItem movingItem = email.Move(ParentFolder);

Outlook.Application objOutlook = new Outlook.Application(); Outlook.MailItem email = (Outlook.MailItem)objOutlook.Session.OpenSharedItem(strFilePath); Outlook.MailItem movedItem = email.Move(ParentFolder);