i have one requirement that is when i click forget password button it ll display one window in that window please enter your email like that
i entered email and click submit button.
i want to Receive my user name and password in my e mail address.
and one thing i have this all data in single table in my data base.
please help any know .
Regards
Venkat.S

Shirsendu NandiPosted May 2, 2011, 10:03 AM
Abhimanyu K VatsaPosted May 2, 2011, 7:20 AM
(i) ask the user to provide the email id
(ii) find or search that email id's existance in your database
(iii) if email id found then proceed next or display message to user 'email id not found' like.
(iv) if email id found then take the instance of user id and password from database and create a string that will be sent to user
(v) now configure your smtp settings for sending the emails
(vi) now send the mail and diplay the user 'email sent'.
find the reference article here