简体   繁体   English

从Outlook电子邮件执行C#过程

[英]Execute C# Procedure from Outlook Email

I have an Outlook Html Email with button on it: 我有一个带有按钮的Outlook Html电子邮件:

<div style="width: 100px; float: left">
      <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="https://..." style="height:40px;display:inline-block;v-text-anchor:middle;width:100px;" arcsize="10%" strokecolor="#1e3650" fillcolor="#369d07">
        <w:anchorlock/>
        <center style="color:#ffffff;font-family:sans-serif;font-size:18px;font-weight:bold;">Да</center>
      </v:roundrect>
</div>

After I clicked on the button, browser opens and executes function (C# void function) by link. 单击按钮后,浏览器将打开并通过链接执行功能(C#无效功能)。 Is it possible to execute function from outlook button without opening browser? 是否可以在不打开浏览器的情况下从Outlook按钮执行功能? I need button to make a call and do nothing else. 我需要按一下按钮才能拨打电话,并且什么也不做。

Thank you. 谢谢。

为此,您需要诸如Service之类的东西,单击按钮即可单击终结点,可以对服务进行HTTP调用,而特定的服务将调用存储过程。

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

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