Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hi forget password in asp.net and c#
through email with out using forget password control
Posted

Fatch values from SQL using user name. If record found than send email to user with his login credential, otherwise you can send error notification.
 
Share this answer
 
You can easily generate an email and send it to the user. If the password is not stored as an hash, you can send current password otherwise you will have to send a new password.

To send an email, you can use MailMessage class.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900