如何识别要下载的电子邮件? [英] how to identify email for download?

查看:95
本文介绍了如何识别要下载的电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试向用户发送确认邮件以供下载,如果用户通过邮件确认然后可以下载。

任何人都可以发布您的重要视图。

I am trying to send confirmation mail to user for downloading, if user confirmed by mail then able to downloads.
anyone can post your important views.

推荐答案

当用户加入时,您向其成员资格中添加一个等待字段和一个要匹配的GUID值。然后,您发送一封电子邮件,其中包含完整注册页面的链接,其中包含UserID和GUID值作为查询字符串参数:

When the user joins up, you add a field to his membership which is "waiting", and a GUID value to match. You then send an email containing a link to a "Complete Registration" page which has the UserID and the GUID value as query string parameters:
www.MyDomain.com/Login/ConfirmEmail.aspx?uid=1234567&emid=ba1b3a6f-5b47-41e0-b09b-d503dbdfe858

在页面中,检查uid,状态和GUID是否匹配。如果是,则将状态更改为正式成员并让他继续。

In the page, you check the uid, the status, and that the GUID matches. If so, you change the status to "full member" and let him proceed.


这篇关于如何识别要下载的电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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