Posted on: 10/12/2010 4:42:43 PM | Views : 571

I am using .net membership functionality, The problem is on forget password page it send two emails to the user , any idea why?
I am using Windows 2008 Server.
Imports System.Net.Mail Partial Class registration_ForgotPassword Inherits System.Web.UI.Page Protected Sub btnSendPassword_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnSendPassword.Click SendForgotPasswordEmail() End Sub #Region "SendForgotPasswordEmail" Private Sub SendForgotPasswordEmail() Dim emailFrom As String = ConfigurationManager.AppSettings("EmailFrom").ToString() Dim message As String = String.Empty Dim emailTo As String = txtEmail.Text Dim username As String Dim password As String password = "" Dim list As MembershipUserCollection list = Membership.FindUsersByEmail(emailTo) If list.Count > ...

Go to the complete details ...