通过单击eMail中的链接获取用户邮件ID [英] Get user mail id by clicking a link in eMail

查看:356
本文介绍了通过单击eMail中的链接获取用户邮件ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在邮件中使用链接按钮,该按钮将发送给不同的人(考虑使用相同的邮件服务器)。如果用户点击他的邮件,他将被重定向到特定的Web API。



我需要知道哪个邮件用户点击了链接按钮?来自邮件。



TIA。

I am using a link button in a mail which will be sent to different persons (Consider same mail server). If a user clicks from his mail, he will be redirected to a particular Web API.

I need to know "which mail user has clicked the link button?" from the mail.

TIA.

推荐答案

唯一的办法是发送不同的邮件,每个都有一个包含用户电子邮件的查询字符串,或一个告诉收件人的ID值。

执行此操作的常规方法(通常用于注册EMAIL检查)是使用GUID或类似的cress引用您的DB来解析您发送邮件的USerID和/或电子邮件地址。



电子邮件中的链接无法访问用户信息,因为它们中没有任何处理可以防止钓鱼行程访问您的个人信息。
The only way to do it is to send different mails, each of which has a query string containing either the user email, or an ID value which tells you the recipient.
The normal way to do this (often used for registration EMAIL checks) is to use a GUID or similar which cress references against you DB to resolve the USerID and / or email address you sent the message to.

Links in emails can't access user information because there is no processing in them to prevent phishing trips accessing your personal details.


这篇关于通过单击eMail中的链接获取用户邮件ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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