在Outlook中触发外部API调用,以回复来自特定电子邮件ID的电子邮件 [英] Trigger an external API call in Outlook replying to an email coming from a specific email-id

查看:152
本文介绍了在Outlook中触发外部API调用,以回复来自特定电子邮件ID的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我回复来自特定发件人的电子邮件时,我试图触发外部API.为了描述用例,我们有一个内部平台,人们可以在其中提出特定问题,专家可以像堆栈溢出一样回答这些问题.

I am trying to trigger an external API when i reply to an email coming from a specific sender. To describe the use case , we have an internal platform where people ask specific questions and experts answer them similar to stack overflow.

我们要为专家回答问题启用一种Outlook功能,这将使专家能够回复电子邮件通知(来自平台),当他点击发送时,操作将是呼叫平台的POST端点.在原始帖子上创建新的回复.

We want to enable a outlook feature for experts answering questions which would enable the expert to reply to an email notification (coming from the platform) and when he hits send the action would be to call the POST end point for the platform which create a new reply on the original post.

我查看了Microsoft Flow和EWS API,但找不到确切的内容.我可以创建自定义连接器,当收件箱中出现新电子邮件时,该连接器将触发操作.但是,当您回复特定的电子邮件时,没有流程会触发操作.

I have looked at Microsoft flow and EWS API but i could not find exactly what I was looking for. I can create custom connectors which would trigger an action when a new email comes in the inbox. But , there was no flow which would trigger an action when you reply to a specific email.

我正在寻找可以完成的工作以及可以使用哪些API/工具来实现我们所寻找的东西的帮助.

I am looking for some help on what can be done and which APIs/tools can be used to achieve what we are looking for.

谢谢

推荐答案

一种选择是使用"

One option is to use the "on send" capability for Outlook web add-ins, but you are limited to supporting only Outlook Online as it doesn't currently support Outlook for Windows and Mac (and you can't publish the add-in to the Office Store).

最好的选择是开发一个COM加载项,使您可以完全控制答复和发送事件,并有机会在发出Web请求时取消或延迟这些事件.

The best choice would be to develop a COM add-in where you will have full control over the reply and send events, and the opportunity to cancel or delay those events while you make your web requests.

一种外部选择是使用图形增量查询在用户的已发送邮件"文件夹中查找新邮件,以检测这些发送操作. EWS中的通知订阅

An outside option is to use Graph delta queries to look for new items in the user's Sent Items folder to detect these send operations. There are similar capabilities in EWS with notification subscriptions and transport agents.

这篇关于在Outlook中触发外部API调用,以回复来自特定电子邮件ID的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆