Print this page
Thursday, 24 January 2013 13:54

asp.net membership Password Recovery

Written by 
Rate this item
(0 votes)

asp.net has default password recovery control and methods
to implement password recovery.you just need to use
asp.net membership provider in your app and add the
PasswordRecovery control in a page by which you want
to recover password.

the control will ask user name and then security
question to send a new tempo password to your email.
for this automatic email sending you will need
to add SMTP information in <system.net> in your
web.config as shown below -

<system.net>
<mailSettings>
<smtp from="This email address is being protected from spambots. You need JavaScript enabled to view it.">
<network host="relay-hosting.secureserver.net"/>
</smtp>
</mailSettings>
</system.net>

you may need change of the parameters according to
your hosting server's requirement.

Read 2954 times
Super User

Email This email address is being protected from spambots. You need JavaScript enabled to view it.
7