If the stored e-mail address fails I can catch the error but then what?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AAaron123

    #1

    If the stored e-mail address fails I can catch the error but then what?

    I got this far if there is a SendMailError.

    That is, if the stored e-mail address fails I can catch the error and
    continue.

    But what is a good approach?

    Cause the user to make a new account?

    Give him the password in the message in the sub below?

    He did answer the question correctly if he got this far.

    I suppose his password has been reset at this point. Is that correct?

    How can I get it to send to him or is there another approach?



    I'd appreciate ant helpful suggestions



    Protected Sub PasswordRecover y1_SendMailErro r(ByVal sender As Object, ByVal
    e As System.Web.UI.W ebControls.Send MailErrorEventA rgs) Handles
    PasswordRecover y1.SendMailErro r

    e.Handled = True

    PasswordRecover y1.SuccessText = "Error sending e-mail. Possible incorrect
    address stored."

    End Sub


Working...