如何通过电子邮件发送有关客户端用户ID的确认 [英] how to Email confirmation on client user id

查看:110
本文介绍了如何通过电子邮件发送有关客户端用户ID的确认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要确认注册过程已通过用户邮件ID检查并确认

I want to confirm the Registration process is Checked through User Mail id and Verify the
the Registration process.

推荐答案

向他们发送带有链接的电子邮件:他们点击链接,确认ID和电子邮件地址.

该链接通常指向带有查询参数或附加两个查询参数的常规页面:我使用
Send them an email with a link: they follow the link, it confirms the ID and email address.

The link is generally to a general page with a query parameter or two attached: I use
[domain]/completeRegistration.aspx?0=xxxx&1=yyyy

,其中xxxx是用户ID或内部数据库ID,而yyyy是与用户中存储的ID匹配的Guid数据库记录为我通过电子邮件发送的记录.如果它们匹配,则注册完成. (我还会保留不好尝试"的数量,并在注册数量很少后将其杀死,但这对您来说可能是过大的选择.)

当他们匹配时,将用户标记为已完全注册,然后将其重定向到登录页面,或者将其登录并发送到主页.

where xxxx is the userID or internal DB ID, and yyyy is a Guid which matches the one stored in the user DB record as the one I sent via the email. If they match, the registration is complete. (I also keep a "bad tries" count and kill the registration after a small number, but that may be overkill for you).

When they match, mark the user as fully registered, and redirect him to to log in page, or log him in and send him to the home page.


这篇关于如何通过电子邮件发送有关客户端用户ID的确认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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