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. Advertising

  2. AAaron123

    AAaron123 Guest

    sorry, I posted while still typing
    "AAaron123" <> wrote in message
    news:...
    > 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?
    >
    >
    > thanks
    >
    > PS
    >
    > I have a sub for PasswordRecovery1_SendingMail with a try catch but it
    > appears the error occurs after the sub exits.
    >

    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. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. hb
    Replies:
    0
    Views:
    4,750
  2. Replies:
    4
    Views:
    3,600
  3. Ian Semmel

    PasswordRecovery Control and SMTP Server

    Ian Semmel, Oct 3, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    350
    Patrice
    Oct 3, 2007
  4. Luc
    Replies:
    0
    Views:
    1,118
  5. SunSmile

    Create MailBox Exchange Server ASP.net

    SunSmile, Apr 2, 2008, in forum: ASP .Net Security
    Replies:
    1
    Views:
    797
    Aguardientico
    Apr 4, 2008
Loading...

Share This Page