password recovery

H

Husam

Hi :

I have the following code that I used it in password recovery:
Dim mail As New MailMessage()
mail.From = New MailAddress("(e-mail address removed)")
mail.To.Add("(e-mail address removed)")
mail.Subject = "The password"
mail.Body = "you password is: " + password
Dim smtp As New SmtpClient("127.0.0.1", 25)
smtp.Send(mail)
me.response.write("the password has been sent to your e-mail")

and the message appear to me and tell me the password has been sent.

but when I go to my e-mail there is no message.

can some body enlight me about this issue ?

any help will be appreciated

regard's

Husam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top