سؤال

شيء يأتي إلي من الأعلى هو القدرة على الاستجابة لإعلام البريد الإلكتروني للموافقة عليها أو رفضها.سيكون هذا السلوك يشبه العديد من القوائم البريدية، هل ضربت الرد على الموافقة على الاشتراك أو إرسالها إلى عنوان بريد إلكتروني مختلف لإنكاره.كيف يمكنني القيام بذلك في بيئة 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