Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
hi
forget password in asp.net and c#
through email with out using forget password control
Posted 1-Mar-12 16:33pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 8,373
1 OriginalGriff 6,466
2 Peter Leow 3,567
3 Zoltán Zörgő 3,316
4 Richard MacCutchan 2,397


Advertise | Privacy | Mobile
Web02 | 2.8.150123.1 | Last Updated 2 Mar 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100