PasswordRecovery: Mailbox unavailable. The server response was: Invalid recipient: ...

Discussion in 'ASP .Net' started by AAaron123, Oct 6, 2008.

  1. AAaron123

    AAaron123 Guest

    During the execution of PasswordRecovery if the question is answered
    correctly e-mail is sent with the new password.
    However, if the e-mail address is incorrect I get an error:
    Mailbox unavailable. The server response was: Invalid recipient: ...
    I'd like to catch that error rather than having the browser bomb.
    I've looked for a property to set a url but coud not find one.
    Is there some way I can catch that error?

    Do you know how to solve this?

    thanks

    PS

    I have a sub for PasswordRecovery1_SendingMail with a try catch but it
    appears the error occurs after the sub exits.
     
    AAaron123, Oct 6, 2008
    #1
    1. Advertisements

  2. AAaron123

    AAaron123 Guest

    sorry, I posted while still typing
    I was looking for a xhtml solution because in the sub
    PasswordRecovery1_SendMailError

    which seems to catch it I don't know how to go to a url.

    Can I do that?
     
    AAaron123, Oct 6, 2008
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.