I have problem to recovery password fom the SMTP.

Discussion in 'ASP.NET / ASP.NET Core' started by vvsharma, Jun 7, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Make sure that your smtp server is set to 'localhost' to send mails from your web application .Please elaborate on your issue ,in case this doesnt recolve the problem.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. HI,

    when i click the password recovery with enter the user name. It gives the following error message.

    The remote name could not be resolved:"SMTP servsr name"

    But i have already given the SMTP server in the web.config file.
    How can i solve that problem?


    Regards,
    DD
     
  3. Hi


    When i tried at the localhost but it gives the following error
    Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email protected]


    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email protected]

    Source Error:





    Code:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:





    Code:
    [SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email][email protected][/email]]
       System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) +791
       System.Net.Mail.SmtpClient.Send(MailMessage message) +1993
       System.Web.UI.WebControls.LoginUtil.SendPasswordMail(String email, String userName, String password, MailDefinition mailDefinition, String defaultSubject, String defaultBody, OnSendingMailDelegate onSendingMailDelegate, OnSendMailErrorDelegate onSendMailErrorDelegate, Control owner) +347
       System.Web.UI.WebControls.PasswordRecovery.AttemptSendPasswordQuestionView() +656
       System.Web.UI.WebControls.PasswordRecovery.AttemptSendPassword() +69
       System.Web.UI.WebControls.PasswordRecovery.OnBubbleEvent(Object source, EventArgs e) +84
       System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
       System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +86
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +156
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4921
    
    how can i solve that problem?

    Regards,
    DD
     
  4. Bruce

    Bruce DiscountASP.NET Staff

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page