哪个版本的 _NewMailEx 事件的 EntryIDCollection 是逗号分隔的字符串?

Up to which version is the EntryIDCollection of the _NewMailEx event a comma-delimited string?

我又在处理 Outlook 的 _NewMailEx 事件,我开始变得偏执了。

This document 状态:

This event fires once for every received item that is processed by Microsoft Outlook. The item can be one of several different item types, for example, MailItem , MeetingItem , or SharingItem. The EntryIDsCollection string contains the Entry ID that corresponds to that item. Note that this behavior has changed from earlier versions of the event when the EntryIDCollection contained a list of comma-delimited Entry IDs of all the items received in the Inbox since the last time the event was fired. [...]

我在工作中使用 Office 2010,在家里使用 Office 2016 和 2019,并且从来没有遇到过每封邮件需要一个事件的问题。

This Office 2003 文档使我相信对 _NewMailEx 事件的更改发生在 Office 2007 中。
然而 and this question explicitly state using Office 2010 and in both questions the OP Splits the string. There are also many other Outlook questions without an explicit version statement that Split the EntryIDCollection. See 例如问题。


我的假设错了吗?
_NewMailEx 事件的 EntryIDCollection 到哪个 Office 版本是逗号分隔的字符串?

即使您仍然通过拆分作为参数传递的字符串来继续使用旧代码,它也可以正常工作。拆分传递的字符串后,无论如何您都会得到一个字符串 (EntryID)。在这些更改之前创建解决方案的开发人员继续使用旧方法。所以,请不要混淆。

NewMailEx 事件的更改已推出(作为补丁或更新)到所有受支持的 MS Office 版本。 Office 2007 已于 2017 年 10 月 10 日终止支持。Office 2010 的文档明确指出更改已应用于 NewMailEx,因此您可能希望它从 Outlook 2010 开始工作。