English 中文(简体)
WAP, CreatUserWizard, 通过电子邮件发送密码
原标题:WAP, CreateUserWizard, send password by email

Please note I mutter new to ASP. NET.

我怎么能通过电子邮件将用户名、密码和其他简介细节发送到一个网站管理新的用户登记?

如果密码领域在法典中完全可以找到的话,那么就损失了创建UserWizard的工作? 我是否需要超越某种方法,我能在哪里看待登记册类别的实际代码?

最佳回答

还有一个在用户创建时发射的活动<代码>。

你们可以这样做。 我认为,这些口号实际上无法使用(与其他人一样,你在给你行政的电子邮件中不想这样做)。 然而,你可以把这次活动的信息传给你的行政。

我在这里也做了类似的事情。

  protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
  {
  CreateUserWizard cuw = (CreateUserWizard) LoginView1.FindControl("CreateUserWizard1");
  MailUtility.SendMessage(cuw.Email, cuw.UserName);

实际上,这部法典中都有。 密码可供查阅,因此,你甚至可以查阅密码。 但我再次建议你不要邮寄密码。

问题回答

从安全角度看,将用户的密码传给他人是非常坏的。 人们往往使用不同的地点相同的密码,因此从来不应暴露密码。 ASP.NET 会员提供人实际上使用单向散射算法,使密码检索无法进行,即使可以查阅数据库。

在瑞典,最近发生的情况是,许多记者、议员和其他官方人士在受欢迎的博客网站被 ha后,用电子邮件阅读。 那些拥有与其电子邮件相同密码的博客账户的人很容易成为目标。

有一个<代码>CreatedUser关于创建UserWizard控制的活动,在创建用户时可用于执行自己的代码。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签