Wednesday, December 5, 2012

How to solve this error Bad sequence of commands. The server response was: This mail server requires authentication

Server Error in '/' Application.


Bad sequence of commands. The server response was: This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server.
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.SmtpException: Bad sequence of commands. The server response was: This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server.

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: 

[SmtpException: Bad sequence of commands. The server response was: This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server.]
   System.Net.Mail.RecipientCommand.CheckResponse(SmtpStatusCode statusCode, String response) +1066623
   System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) +241
   System.Net.Mail.SmtpClient.Send(MailMessage message) +1480
   Contactus.SendSimpleEmail(String toAddressList, String subject, String emailBody, Boolean isHTML) +103

[Exception: Error sending email from admin@aspdotnet-rajkumar.in]
   Contactus.SendSimpleEmail(String toAddressList, String subject, String emailBody, Boolean isHTML) +161
   Contactus.Sendadminmail(String name, String email, String Mobile) +222
   Contactus.Submit_Click1(Object sender, EventArgs e) +83
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565



Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5456

4 comments:

  1. My husband and i got really thrilled when Albert managed to conclude his survey from the ideas he came
    across in your blog. It's not at all simplistic to just possibly be handing out methods which some people might have been making money from. We keep in mind we need the writer to give thanks to for that. All of the illustrations you made, the easy site navigation, the relationships you help foster - it is mostly extraordinary, and it's leading our son in addition to the family reckon that the content is exciting, and that is
    quite vital. Thanks for all the pieces!

    Have a look at my web site ... webkatalog Eintragungen

    ReplyDelete
  2. Thanks so much for providing individuals with an exceptionally spectacular chance to
    read critical reviews from this web site. It is often so ideal
    and as well , jam-packed with a lot of fun for me personally and my office peers
    to search your blog the equivalent of three times in a week to learn the new secrets you have.
    And definitely, I'm also at all times pleased with all the splendid knowledge you give. Certain 3 areas on this page are essentially the finest we have all had.

    Look into my site :: sex filme kostenlos

    ReplyDelete
  3. I wish to voice my love for your generosity in support of individuals that really need guidance on in this idea.
    Your very own dedication to passing the message across ended up being
    amazingly useful and have made guys and women much like me to get to their goals.
    Your new helpful guide can mean so much to me and somewhat more to my peers.
    Best wishes; from each one of us.

    My site ... kostenlose sexfilme

    ReplyDelete
  4. Hello! Someone in my Facebook group shared this site with us so
    I came to look it over. I'm definitely enjoying the information.
    I'm bookmarking and will be tweeting this to my followers!
    Wonderful blog and terrific design and style.

    Visit my webpage - Kunst online kaufen

    ReplyDelete