Outlook 插件在桌面上发送时未触发

Outlook addin On Send on dektop not firing

我一直在为 Outlook 构建一个 Office 加载项。

我有一个任务窗格,工作正常,昨天,我添加了 "on send" 功能。

它在网络上运行良好,但在桌面上运行不佳。 邮件只是发送而没有任何通知消息。 根据文档,它现在应该可以在桌面上运行了吗?

"The on-send feature is currently supported for Outlook on the web in Exchange Online (Office 365), Exchange 2016 on-premises (Cumulative Update 6 or later), and Exchange 2019 on-premises (Cumulative Update 1 or later). This feature is also available in the latest Outlook builds on Windows and Mac, connected to Exchange Online (Office 365). The feature was introduced in requirement set 1.8."

我正在使用:

我也完成了步骤“manage the on send policy”。 还有什么我想念的吗?我是否需要进行一些特殊设置才能使其在桌面上运行?

感谢您的 post 汤姆,问得好。这是您在 Windows 中没有支持 OnSend 功能的 Office 版本的问题。

引用的文章是准确的,因为该功能在 "Latest Outlook Builds in Windows" 中可用。更具体地说,这意味着 16.0.12130.20272+ 构建。在撰写本文时,onSend 功能仅在 Office 365 每月订阅中可用。我们需要改进该文档,这是我团队的后续工作,我同意这可能会导致混乱。

根据您的内部版本号,您似乎处于半年订阅状态,1.8 将在下一个半年频道发布,尚未发布。

所以你有两个选择。 1. 要么你install the latest Insiders fast(测试你的代码) 2. 等待 2020 年 7 月左右下一次半年发布。

希望这对您有所帮助,顺便说一句,为了将来参考,此页面可以指导您查看需求集的可用性 https://docs.microsoft.com/en-us/office/dev/add-ins/reference/requirement-sets/outlook-api-requirement-sets