如何识别用户可以在Asp.Net C中读取或不读取邮件# [英] How Can I Identify The User Can Mail Read Or Not In Asp.Net C#

查看:77
本文介绍了如何识别用户可以在Asp.Net C中读取或不读取邮件#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i面临我在asp.net中用gmail发送邮件的一个问题,我如何识别用户可以在asp.net中读取或不读取邮件,如何阅读我的邮件在asp.net中的gmail中


i faces the one problem i am sending mail in gmail in asp.net and how can i identify the user can mail read or not in asp.net and how can i read my mail in gmail in asp.net

推荐答案

您无法判断用户是否已阅读过电子邮件,除非您提供了一个链接供他点击并点击它 - 这是因为垃圾邮件制造者和网络钓鱼者想知道实时电子邮件地址,因此大多数系统都设置为不下载内容(图像等)或发送阅读回执。大多数系统(例如本网站)在用户注册时向用户发送电子邮件,其中包含用于确认电子邮件地址的链接。在点击链接之前,用户受限于他能做什么(如果有的话)。最简单的方法是提供一个确认页面并提供一个带有查询字符串的链接,该查询字符串通过GUID值或类似标识用户,以防止他手动猜测要使用的正确字符串。 GUID提供了一个转换为用户的查找,以便更新注册数据库。



要阅读gmail电子邮件,请参阅此处:在ASP.NET中查找Gmail收件箱消息 [ ^ ]
You can't tell if a user has read an email, unless you provide a link for him to click and he clicks it - this is because spammers and phishers would like to know "live" email addresses so most systems are set to not download content (images etc) or send read receipts. Most systems (such as this site) send the user an email when he signs up, which contains a link to confirm the email address. Until the link is clicked, the user is restricted in what he can do (if anything). The easiest way to do this is to provide a "confirmation" page and supply a link with a querystring which identifies the user via a GUID value or similar to prevent he manually "guessing" the right string to use. The GUID provides a lookup which translates to the user so the registration DB can be updated.

To read gmail emails, see here: Read Gmail Inbox Message in ASP.NET[^]






不确定您用什么来发送来自c#的邮件。

您可以查看此链接,以获取送货和阅读收据。





http://www.splinter.com.au/emails-in-c-delivery-and-read-receipts-attach/ [ ^ ]





另请查看有关阅读收据的快速阅读个人Gmail帐户。

https://support.google.com/mail/answer/1385059? hl = en [ ^ ]



希望这会有所帮助!

快乐编码。
Hi,

Not sure what are you using to send mails from c#.
You might check this link, for delivery reciepts and read reciepts.


http://www.splinter.com.au/emails-in-c-delivery-and-read-receipts-attach/[^]


Also check a quick read about read-receipts for personal gmail accounts.
https://support.google.com/mail/answer/1385059?hl=en[^]

Hope this helps!
Happy coding.


这篇关于如何识别用户可以在Asp.Net C中读取或不读取邮件#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆