Outlook 中标记为已读的项目上的事件 - Delphi COM 插件

发布于 2024-07-06 14:23:57 字数 195 浏览 6 评论 0原文

我有一个用于 Outlook (2000-2007) 的 Delphi COM 插件,并且正在尝试找到一种在 Outlook 中的 MailItem 标记为已读时注册事件的方法。 我想在项目标记为已读后添加一个附加属性。

有谁知道如何使用 Outlook 对象模型来做到这一点? 我还使用 Add-In-Express 组件来帮助获取其他属性事件。

I have a Delphi COM Add-in for Outlook (2000-2007) and am trying to find a way to register an event when an MailItem in Outlook is marked as read. I want to add an additional property to the item as/just after it is marked as read.

Does anyone have any idea how to do this using the Outlook Object Model? I am also using Add-In-Express components to help get to additional properties events.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

睫毛上残留的泪 2024-07-13 14:23:57

为此,您可以使用两个 MailItem 事件:

  • 将调用“Read”事件。

  • 将使用“UnRead”参数调用 PropertyChange 事件。 但是,当 MailItem 再次标记为“已读”时,也会调用此特定事件。

There are two MailItem events you could use for this:

  • The "Read" even will be called.

  • The PropertyChange event will be called with a parameter of "UnRead". However, this particular event will also be called when the MailItem is marked as "read" again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文