2

我正在为 Outlook 2013 开发插件,我正在努力解决 PR​​_INTERNET_MESSAGE_ID 问题,我可以很容易地获得 PR_INTERNET_MESSAGE_ID 归档传入的邮件,但它在发送邮件时没有返回任何内容。任何帮助,将不胜感激!谢谢!这是我的代码

 string PR_INTERNET_MESSAGE_ID = "http://schemas.microsoft.com/mapi/proptag/0x1035001F";
        Microsoft.Office.Interop.Outlook.PropertyAccessor pal = mailItem.PropertyAccessor;
        string Internet_Message_Id = pal.GetProperty(PR_INTERNET_MESSAGE_ID).ToString();
4

1 回答 1

1

That property is only sent after the message is sent. Exchange 2010/2013 sets that property for all messages created in the store, but you will not necessarily see it on messages in the cached store. Are you using PST or Exchange?

于 2013-09-26T16:51:42.780 回答