Connecting Tech Pros Worldwide Forums | Help | Site Map

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

AAaron123
Guest
 
Posts: n/a
#1: Oct 6 '08
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 PasswordRecovery1_SendMailError(ByVal sender As Object, ByVal
e As System.Web.UI.WebControls.SendMailErrorEventArgs) Handles
PasswordRecovery1.SendMailError

e.Handled = True

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

End Sub


Closed Thread