Information when changing the passwordRecovery in ASP.NET 2.0 (original)

xiaoxiao2021-03-06  85

In the login control of ASP.NET 2.0 (see my article, www.yesky.com / SoftChannel / 72342380468043776.SHTML), where PasswordRecovery (Restoring User Password Controls, you can enter your password to answer questions) After the answer, use the user's username and password email to the user, where we can improve its prompt password information) Where, in MyMail.txt, you can define,

Your username is: <% username%> Your password is: <% password%> In addition, you can define more complex in the OnseMail event, as follows

Protected Void PasswordRecovery1_Sendingmail (Object Sender, MailMessageEventAgeggs E) {// Get the username and password for the user here E.MESSAGE.BODY = "The Accont Information Message ...."

转载请注明原文地址:https://www.9cbs.com/read-95514.html

New Post(0)