CreateUserWizard_SendingMail

Last post 11-25-2008 7:28 AM by ianthm. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 11-25-2008 7:28 AM

    • ianthm
    • Top 25 Contributor
    • Joined on 03-25-2008
    • Wannabe Slacker
    • Points 1,049

    CreateUserWizard_SendingMail

    Hi,

    I am gettting the following error when my user registers for a new account. The error says that the mailbox is unavailable. Infact a mail is sent as I intend. So the code works fine. Can I surpress this server error somehow so the user does not see it but moves on and logs in.  

    Thanks

     

     

     

     

    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: (iis407) [98.130.0.137] is currently not permitted to relay through this

    Source Error:

    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:

    [SmtpFailedRecipientException: Mailbox unavailable. The server response was: (iis407) [98.130.0.137] is currently not permitted to relay through this]
       System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) +858231
       System.Net.Mail.SmtpClient.Send(MailMessage message) +2004
       System.Web.UI.WebControls.LoginUtil.SendPasswordMail(String email, String userName, String password, MailDefinition mailDefinition, String defaultSubject, String defaultBody, OnSendingMailDelegate onSendingMailDelegate, OnSendMailErrorDelegate onSendMailErrorDelegate, Control owner) +341
       System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() +571
       System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) +105
       System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +453
       System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) +149
       System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +17
       System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
       System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
       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) +1746
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

    Server Error in '/' Application.

    Mailbox unavailable. The server response was: (iis407) [98.130.0.137] is currently not permitted to relay through this

     

    Filed under:
  •  Advertisement

    3 MONTHS FREE & FREE SETUP on ASP.NET 3.5/2.0 Web Hosting! Windows 2008 & 2003 Servers Available, MS SQL 2008/2005, .NET 3.5 SP1, Entity Framework, LINQ, Silverlight 2.0, 30 Day Money Back Guarantee – Click Here!

     
Page 1 of 1 (1 items)