简体   繁体   English

Outlook 365加载项发送事件

[英]Outlook 365 Add-in send event

Is there a way to catch the 'send' button click event using javascript? 有没有一种方法可以使用javascript捕获“发送”按钮单击事件? I'm not using the VSTO, i'm using the App for Office project in visual studio. 我没有使用VSTO,而是在Visual Studio中使用了Office的App项目。

Unfortunately, the Office Javascript library does not support the Send event. 不幸的是,Office Javascript库不支持Send事件。 Here is the relevant page: 这是相关页面:

https://msdn.microsoft.com/en-us/library/office/fp142177.aspx https://msdn.microsoft.com/en-us/library/office/fp142177.aspx

Using a different extensibility model, you can access the Outlook Desktop's object model from HTML & Javascript: 使用其他可扩展性模型,您可以从HTML和Javascript访问Outlook Desktop的对象模型:

https://www.add-in-express.com/creating-addins-blog/2014/11/26/access-outlook-html-javascript-addins/ https://www.add-in-express.com/creating-addins-blog/2014/11/26/access-outlook-html-javascript-addins/

Maybe this strategy can suit your use case? 也许这种策略可以适合您的用例?

Ty

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM