shlvy Posted December 7, 2003 Posted December 7, 2003 Hi I need to get a code that will send the forgotten password to the email that the user write in the registartion area, you know when a user forget his password he get into a page with a form that let him to write the email or username or both, and the password will be sent to that email,I use access database. Thank's. Quote
Moderators Robby Posted December 7, 2003 Moderators Posted December 7, 2003 What exactly are you having trouble with? Quote Visit...Bassic Software
bungpeng Posted December 8, 2003 Posted December 8, 2003 Shlvy, you should not expect people write the source code to you from nothing. Furthermore, I don't think it is difficult for you to send password. You just need to verify whether the username & email exist, then retrieve the password from database and send to this email address. Quote
fadi Posted December 8, 2003 Posted December 8, 2003 Dim myMail As New Mail.MailMessage() Dim str As String = "" Dim sb As New StringBuilder() sb.Append(vbCrLf) sb.Append("Your password is " & myPassword) sb.Append(vbCrLf) sb.Append(vbCrLf) End If With myMail .From = "Me@Me.com" .To = txtEmail.Text .Subject = "Password" .Body = sb.ToString End With SmtpMail.SmtpServer = "127.0.0.1" SmtpMail.Send(myMail) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.