服务器端电子邮件跟踪 [英] server side email tracking
本文介绍了服务器端电子邮件跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以获取用于服务器端电子邮件跟踪的asp.net代码,该代码将跟踪何时接收和打开您的电子邮件以及时间跨度吗?
can i get asp.net code for server side email tracking which will track when your email is received and opened as well as time span?
推荐答案
报价:
If I understand your incomplete question correctly, You are trying to get a mail delivery notification and mail read notification.
It needs following to be done:
1) Set "DeliveryNotificationOptions" property of MailMessage object
MailMessage msg = new MailMessage();
msg.DeliveryNotificationOptions = DeliveryNotificationOptions.OnSuccess;
2) Add the below header
msg.Headers.Add("Disposition-Notification-To", "<someaddress@mydomain.com>");
Refer the below links, if required:
http://www.systemnetmail.com/faq/3.3.3.aspx
http://www.aspose.com/docs/display/emailnet/Receiving+Notifications+for+Successfully+Sent+and+Failed+Messages
这篇关于服务器端电子邮件跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文