The ChangePassword.SendMailError event is raised when the SMTP mail provider throws an exception when trying to send an e-mail message after users have changed their password. The most common reason that this event is raised is that the smtp section of the Web.config file is incorrect. For more information about the smtp section, see <smtp>.
The default ChangePassword.SendMailError event handler does not catch or handle the SMTP error from the mail system. Your ChangePassword.SendMailError event handler must set the SendMailErrorEventArgs.Handled property of the System.Web.UI.WebControls.SendMailErrorEventArgs object to true in order to stop the error from being displayed to users.
For more information about handling events, see Handling and Raising Events.