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) asp: passwordRecovery> 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 ...."