从顶部来找我的一件事是能够回复电子邮件通知以批准或拒绝它。此行为类似于许多邮件列表,您是否打击回复以批准订阅或发送到其他电子邮件地址拒绝。如何在Exchange和ASP.NET环境中执行此操作?还有其他人这样做的例子吗?

我目前通过电子邮件中的链接执行此操作,但如果他们在他们的手机或从办公室出来,他们无法访问Intranet应用程序。

有帮助吗?

解决方案

You'll have to monitor the incoming mailbox and respond to keywords in the email (subject or body). If you want to perform multiple actions (ie approve or deny), the simplest way is to create mailto links in the email body. That way, the mailto links will include your keywords (approve, deny, whatever) in the subject line when clicked.

其他提示

I built an application like this about six years ago. Basically, we configured the mail server to execute a script when a certain address received an email.

So, if the mail server received an email at trigger@domain.com, then the mail server executes the local program. You can wire this to ASP.NET by having the executed script issue and http request to the ASP.NET application.

The specific implementation is going to be dependent on your mail server and the software you use to manage it.

I know that you´re using Exchange and maybe this answer is not quite helpful for you. I used a custom email server once for doing something similar to what you´re saying. The implementation was based on this C# email server.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top