如何获取emailid [英] how to fetch emailid

查看:476
本文介绍了如何获取emailid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中添加密码恢复选项,当候选人点击忘记密码链接时,我发送一个链接到他的个人邮件。当候选人点击该链接我想重置密码时我需要他的emailid现在我的问题是如何让他的emailid重置密码

I am adding password recovery option in my project, when the candidate clicks on forget password link i am sending a link to his personal mail. when the candidate clicks on that link i want to reset the password for this i need his emailid now my question is how to get his emailid to reset the password

推荐答案

Ok ,其中一种方式:

1.如果用户选择忘记密码,请询问他注册的电子邮件ID

2.发送电子邮件至该电子邮件id,其中包含使用加密查询字符串设置新密码的链接,以确保将其发送给

3.如果是真实用户且忘记密码,他将在其注册的电子邮件ID中收到您的电子邮件收件箱

4.一旦他访问该链接,您就知道正在尝试设置密码的人,请执行此操作。

5.使用链接后,销毁相关的查询字符串,以便不能再使用相同的链接。



试用!
Ok, one of the ways:
1. If user selects for ''forgot password'', ask him for the registered email id
2. send an email to that email id with a link of setting up new password with encrypted querystring to make sure who it is sent to
3. if it was real user and he forgot password, he will get your email in his registered email id inbox
4. Once he visits the link, you know the person who is trying to set password, do it.
5. Once the link is used, destroy the querystring related such that the same link cannot be used again.

Try out!


在链接中传递参数为id ... / Default.aspx?id =''username''

和页面加载默认使用Request检索该id .QueryString [id]; ...我认为它会起作用...还要检查以下链接



http://imar.spaanjaars.com/569/requiring-users-to - 确认他们的电子邮件地址 - 他们创建一个帐户 [ ^ ]
pass parameter in link as id .../Default.aspx?id=''username''
and on page load of Default retrieve that id using Request.QueryString["id"];...i think it will work...also check following link

http://imar.spaanjaars.com/569/requiring-users-to-confirm-their-e-mail-address-after-they-create-an-account[^]


这篇关于如何获取emailid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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