-->

New Outlook API (2015) mail add-in send event

2019-08-13 12:41发布

问题:

Does the new Microsoft Outlook API, which enables development of Outlook addins for cross platform, have the ability to trigger an event off the user clicking the send button?

I currently have an Outlook VSTO addin that uses the Application.ItemSend event to check an email for specific content and present the user with a popup asking them if they still want to send or not. This is only compatible with Outlook 2007-16 on Windows though, and I was hoping the new API might enable me to build something similar for Outlook on Mac/mobile/web, but I haven't found any examples or documentation on this particular event trigger yet.

Link to Outlook API

回答1:

No, there is no such event. It will most likely be added in the future from what I hear...



回答2:

Some support for handling a "send" event was recently added for Outlook Add-ins.

There are several limitations, so be sure to read all the documentation. In particular, this is currently only supported in the Web version of Outlook, and the send event feature cannot be used in any add-ins that will be published in the Office Store.