如何发送邀请/激活链接? [英] How to send invites/activation links?

查看:161
本文介绍了如何发送邀请/激活链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个页面,我们可以在其中创建私有区域,我想通过电子邮件向该区域发送邀请,用户单击该激活链接",然后打开该网页,用户可以在其中登录/注册并访问该区域.

当我们收到用于激活某物的激活链接时,它的情况类似.

我只是不明白我们如何准备我们的网页以接收来自某个链接的连接(该链接已发送至电子邮件).

我该怎么做?

I have a page where we can create private areas, I would to send an invite to that area through email, where user click that "activation link" and it open the webpage, where user can login/register and get access to that area.

Its something similar when we receive activation links to activate something.

I just dont understand how can we prepare our webpage to receive a connection from some link (the one was sent to email).

How can I do that ?

推荐答案

示例:

Example:

string activationCode = System.Guid.NewGuid().ToString();

        string bodyText = "<a href="


href


?ActivationCode =
?ActivationCode=


这篇关于如何发送邀请/激活链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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