使用 GAE python 实现电子邮件验证过程
我想在谷歌应用程序引擎上实现对我的应用程序的简单注册。
我将用户电子邮件和密码存储在数据库上,然后我想向用户输入的电子邮件发送一封身份验证电子邮件,以验证他是否是该地址的实际所有者,
我想我会生成一些 GUID 并将其存储在数据库中 而不是有一个处理程序来处理确认 一旦有人“得到”这个链接,就检查电子邮件是否已验证
,例如:
myapp.appspot.com/verifyemail/[email protected]/qCv4fUNJ4AVuNLSXDLDqEEoARGk
我确信有人已经实现了这样的东西或类似的东西,
如果您可以将我链接到这样的东西,我将不胜感激
I want to implement a simple registration to my app on google app engine.
I store the user email and password on the db and than i want to send an authentication email to the email the user have entered to verify if he is the actual owner of the address
i guess i will generate some GUID and store it in the DB
than have a handler to handle the confirmation
than check the email as verified once some one "get"s this link
something like:
myapp.appspot.com/verifyemail/[email protected]/qCv4fUNJ4AVuNLSXDLDqEEoARGk
i'm sure someone has already implemented such thing or a similar
i would be grateful if you can link me to something like this
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Afair GAE 基于 python-django,因此网上有很多这方面的信息。
检查例如: http://www. b-list.org/weblog/2006/sep/02/django-tips-user-registration/
如果您通过 google 搜索,可以获取更多信息:django 电子邮件确认
Afair GAE is based on python-django, so there’s much information on this in the web.
Check for example: http://www.b-list.org/weblog/2006/sep/02/django-tips-user-registration/
More is available if you google for: django email confirmation