打开新邮件表单时收到消息或通知?

发布于 2024-09-05 09:33:46 字数 72 浏览 3 评论 0原文

我需要 Outlook 插件中的事件/消息/通知,当用户打开新邮件表单时会触发该事件/消息/通知?我不知道如何确定打开了哪个窗口。

I need an event/message/notification in an outlook addin, which fires when a new mail form is open by an user? I don't know how to determine which window is opened.

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

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

发布评论

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

评论(1

彩扇题诗 2024-09-12 09:33:46

您可以利用 Inspectors.newInspector 事件,该事件在您在新窗口中打开任何 Outlook 项目时引发。在此事件的事件处理程序中,您可以检查 Inspector.CurrentItem 类型是否为 Outlook 邮件,并且邮件项目的 isSent 为 false,这意味着它是处于编辑/撰写模式的 Outlook 邮件项目。

You can make use of Inspectors.newInspector event which is raised when you open any outlook item in a new window. In the event handlerfor this event, you can check if the Inspector.CurrentItem type is Outlook mail and mail item has isSent as false that means it is an outlook mail item in edit/compose mode.

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