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

10 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. This post will assist the internet visitors for creating new weblog or
    even a weblog from start to end.

    Also visit my blog post; biedermeier-empire.de/

    ReplyDelete
  4. I am also commenting to make you understand of the impressive discovery
    my cousin's princess obtained using yuor web blog. She learned plenty of pieces, not to mention what it's like to possess an awesome teaching spirit to let
    a number of people very easily thoroughly grasp a variety
    of complex matters. You actually surpassed her expected results.
    Thanks for offering the warm and helpful, dependable, revealing and easy tips
    about this topic to Sandra.

    Here is my web page; entkoppeln

    ReplyDelete
  5. 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
  6. I wanted to compose a quick word so as to appreciate you for
    some of the amazing concepts you are placing on this site.
    My extensive internet look up has now been rewarded with high-quality details to go over with my best friends.

    I would express that we readers are rather endowed to dwell in a magnificent place with very
    many perfect people with very beneficial suggestions.
    I feel truly fortunate to have discovered
    the web page and look forward to plenty of more thrilling times reading here.
    Thanks once again for everything.

    my site ... schnippisch (aeev.at)

    ReplyDelete
  7. Nice post. I was checking constantly this blog and I'm impressed! Very helpful info specially the last part :) I care for such information a lot. I was seeking this particular info for a long time. Thank you and good luck.

    Also visit my site strompreisvergleich

    ReplyDelete
  8. I leave a response whenever I appreciate a post on a blog or if
    I have something to add to the discussion. Usually it's a result of the sincerness communicated in the post I looked at. And after this article "How to solve this error Bad sequence of commands. The server response was: This mail server requires authentication". I was actually excited enough to create a comment :-) I actually do have a couple of questions for you if you do not mind. Is it just me or does it look as if like a few of these comments look like they are left by brain dead individuals? :-P And, if you are writing on additional social sites, I'd like to keep up with everything new you have to post.
    Would you list every one of all your communal pages like
    your twitter feed, Facebook page or linkedin profile?

    Feel free to visit my web-site ... Meine Ostsee

    ReplyDelete
  9. I blog often and I seriously thank you for your content.
    Your article has really peaked my interest. I will bookmark your
    website and keep checking for new details
    about once per week. I opted in for your Feed as well.


    Feel free to surf to my web site ... spy app

    ReplyDelete
  10. 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