October 2010
Intermediate to advanced
1920 pages
73h 55m
English
After the user changes his password, you can use the ChangePassword control to automatically send an email message that contains the new password. The page in Listing 26.31 contains a ChangePassword control that automatically sends an email.
You can send a user’s password in an email message even when the password is encrypted or hashed by the membership provider.
Listing 26.31. ChangePasswordEmail.aspx

The ChangePassword control in Listing 26.31 includes a MailDefinition property that defines the email sent by the control. The ChangePassword control emails the message contained in Listing 26.32.
Listing ...
Read now
Unlock full access