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

A

AAaron123

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
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top