跟踪电子邮件 - 在阅读电子邮件时获取响应 [英] Track Email - Get Response when Email is Read

查看:109
本文介绍了跟踪电子邮件 - 在阅读电子邮件时获取响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理与 Gmail 相关的项目。



当我从 Gmail 发送给其他人时,我想知道邮件的收件人(对谁)已发送邮件)阅读/打开我的电子邮件。



那么,我该如何编写代码呢?



请帮帮我!



非常感谢!

I am working with a project be related to Gmail.

When I send from a Gmail to others, I want to know whether the recipient of mail (to whom mail was sent) read/opened my email or not.

So, how can I write codes?

Please, help me!

Thank you so much!

推荐答案

解决方案



如果您想知道用户是否阅读了您的邮件,请遵循以下技巧。



Solution

If you want to know whether the user read your mail or not, then follow the below technique.



  1. 在邮件中添加一个图片,尺寸为 0px * 0px HTML
  2. src 属性 image ,提供一个 aspx 页面链接。


  1. Add one image with with dimension 0px*0px inside the mail HTML.
  2. On src attribute of image, provide one aspx page link.
<img src="http://www.example.com/MyPage.aspx" height="0" width="0"></img>



  • Pagexoad aspx 页面上,您可以编写任何代码来处理请求。


  • On Page_Load of that aspx page, you can write any code to handle the request.






  • 它是如何工作的?



    因此,当用户打开邮件并读取它时,图像指向 aspx 页面和服务器端代码同时执行。



    代码执行时,您可以执行任何操作,例如将其存储在数据库表中或记录到文本文件。通过这种方式,您将确认用户已阅读您的邮件。




    How it works?

    So, when user opens the mail and reads it, the image points to the aspx page and the Server Side Code gets executed simultaneously.

    When code gets executed, you can do anything like storing that in a Database Table or logging to Text Files. In that way, you would confirm that the user read your mail.


    我还有另一种方法可以通过以下链接获取开放统计信息:http://www.aspnetemail.com/samples/ emailtracker / default.aspx

    这是最简单的方法。
    I got another way out to get open statistics in following link: http://www.aspnetemail.com/samples/emailtracker/default.aspx
    This is the easiest way.


    这篇关于跟踪电子邮件 - 在阅读电子邮件时获取响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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