문제

맨 위에서 나에게 오는 한 가지는 이메일 알림을 승인하거나 거부 할 수있는 이메일 알림에 응답 할 수있는 능력입니다.이 동작은 많은 메일 링리스트와 유사 할 것입니다. 회신을 눌러 구독을 승인하거나 다른 이메일 주소로 보내기를 거부했습니다.Exchange 및 ASP.NET 환경에서 어떻게이 작업을 수행합니까?다른 사람의 예가 있습니까?

현재 이메일의 링크를 통해이 작업을 수행하지만 전화 나 사무실에서 밖에있는 경우 인트라넷 응용 프로그램에 액세스 할 수 없습니다.

도움이 되었습니까?

해결책

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