Fix “Failed to send your message. Please try later or contact administrator by other way.”

A few days ago I received a mail from a reader, notifying me that my contact form was not working. I use Contact Form 7 on my blog and I was very surprised by the fact that it was not working. It usually is just plug and play.

The error message I was getting was “Failed to send your message. Please try later or contact administrator by other way.”. A quick Googling and I came upon this post by Mario Vargas. I then realized that the error I was getting was because my mail settings were messed up. You can find my mail settings on the screenshot below:

Contact Form 7 - Bad configuration

Wrong config for Contact Form 7. Click on picture to enlarge.

As you can see, I was using the reader’s email address to send me emails. This was the wrong thing to do. Even if the mail would be sent, it would be flagged as spam. As a general rule, you should only send emails belonging to your domain from your domain. (send only @technoreply.com mails from www.technoreply.com).

So, I applied this formula. I changed the senders email to one that belongs to me. The screenshot below speaks for itself:

Contact Form 7 - Good configuration

Good config for Contact Form 7. Click on picture to enlarge.

This simple little trick worked for me. It saved me a lot of time since I did not have to tweak my server.

92 Comments to “Fix “Failed to send your message. Please try later or contact administrator by other way.””

  1. Chris says:

    Sometimes you get lucky and this was one of them. Your fix had me up and going within minutes. Thanks very much!

    • Sarah Henery says:

      I have used contact form 7 on my own server many times on many wordpress sites with no issues, then all of a sudden with a client’s server, I was getting this error. This fix saved me more searching. :) Thank you so much!

  2. Gerry says:

    fixed it for me too thanks.

  3. Zach says:

    Thanks Jevin!

    I was stumped by this very problem and tried downloading both Cimy Swift SMTP and WP-Mail-SMTP based on advice posted on other forums. I am a relative novice at WordPress so most of this was greek to me. The above mentioned SMTP plugins did not fix my issue (undoubtedly because I wasn’t using them properly). Still, this tip did work and was relatively simply.

    After following your explanation I was up and running in no time. FYI, I created my WordPress site through Yahoo Small business (specifically via the control panel). The email that I had to use was the email that I’d set the wordpress blog up under.

    My website is http://www.airsoftreports.com. For illustration purposes my email is example@airsoftreports.com (Not really I just want to avoid spam). I had created that email address with Yahoo and that is the email address that is the default in my Word Press settings menu.

    Hence, that is the email that allowed the contact form 7 to work. I tried putting in other email addresses but none worked.

    I don’t know why, but happily things are working now. Thanks for the tip!

  4. Paul says:

    Thanks for this tip! I always use Contact Form 7 and just encountered this problem installing a site on a server which has already made me swear several times! Great tip – worked straight away, no plugins needed.

  5. Hi Jevin,

    Thanks for your kind help. I was looking for the solution for whole the day and at the end of the day I came across your article and found the perfect solution that works for me. Again thank you very much for your help.

    Regards.

  6. John benedict says:

    i was also having a problem sending error with same error with red border.

    can you assist me on how to setup. currently using wordpress 3.0 and this plugin.

    correct me if im wrong? from what i understand the sender is ME right? but my Domain from where i install my wordpress doesnt have domain email. just using Yahoo n Gmail as my personal email.

    How do i resolve this issue.

    Thanks.

    Really wanted to put a Leave Reply Message / Contact us. in my site.,

  7. Jevin says:

    Hi John

    You’ve got it right. The sender is you @ your domain. Even if you don’t have a domain email, this fix will work. Just use a fictitious email address in that case. Let me know if it works. ;-)

  8. John benedict says:

    Im using only subdomain to test my website hosted in awardspace.us., already tried different email Yahoo. Gmail and even i dont have email of awardspace.us i also did try making even though its not exsisting myemail.awardspace.us but still not resolve the problem. same Error with the red border

    Failed to send your message. Please try later or contact administrator by other way.

    Is there a way to troubleshoot this. i really need to have Contact form / feedback form in my site.

  9. John benedict says:

    by the way i have just read SMTP is disable in free account im just using a free account to test my website.

  10. Amazing! Thanks so much. I was scratching my head at this for a while. I wonder why it doesn’t say anything about this in the actual plugin FAQ?

  11. Muke says:

    Pure Genius!! It worked. Just be sure that you capture and use the Tag for From.

  12. Zahid says:

    I have tried everything, it doesn’t work. Is there any other solution?

  13. Penny says:

    Just thought I’d chime in.. but I had the same problem using a Contact form on the Boldy Theme, and my host.

    When creating a new e-mail address I have a checkbox that says “(Check this box to set the new email as default “From” address for emails sent from scripts in your hosting account)”.

    After creating a new address on my server with this option my contact box works great! : )

    If you have this hosting option it should help you out.

  14. VIVROCKS says:

    Thanks a lot, was stuck with this in a client project and found this just in time :)

  15. Riti says:

    Thanks a billion.
    It worked like a charm.
    My site hosting is yahoo.

    Just to confirm that this worked also with yahoo hosting.

    Thanks,
    Riti

  16. Cre8ivE_OnE says:

    This has ALWAYS been an issue, particularly with GoDaddy hosted stuff (as in my case this time).

    Mr. Obvious did NOT manage to clock me upside the head to my dismay so … thank you for the screen shots!!! They pointed out the blindingly obvious error of my ways… != person filling out form’s email… dergh, 90 minutes down the drain followed by massive *face palm*.

  17. Thank you for quick fix.

  18. cant send massages.it says errors.pratiksha patel says:

    failed to send massages

  19. A friend of mine and me have described this specific topic. Your blog blog post help settled our argument. I’m going to continue reading much more posts! Thank you.

  20. Lynn says:

    Thanks for this! Was having problems with sending from Yahoo hosting (client’s choice) and the other documentation was complicated and didn’t work. The simplest solutions are the best. Thanks again!

  21. arachelito says:

    Hi, you help me a lot,
    On Form- Email

    the problem that i had was
    i type with [ ]
    then on your image show without []

    I delete it, and work

    thanks.
    :)

    • Benny says:

      Hi everyone,

      I m new using contact form on my site, hosting is with godaddy. I have error in my form. When i submit the form it says, Failed to send your message. Please try later or contact administrator by other way… But it works perfect in my local host. Please could you guide me in this.,,

      Hope anyone help me!

  22. arachelito says:

    work it :)

    From:
    nombre@dominio.com

    Not work it with [] :(

    [nombre@dominio.com]

    like your image

  23. Jared says:

    This helped me out tremendously. I was having this issue for about 20 mins and came across your post. Thank you very much for this!

  24. Thank you thank you thank you says:

    Bluehost seems to have changed its email policies and CF7 suddenly started getting stuck when trying to submit forms. You just saved my day! THANKS A LOT for posting this solution.

  25. Joe says:

    I applied your suggestions and it worked! I wish it was always this easy to fix things when they don’t go according to plan. Thank you so much, now I can spend countless hours being frustrated with something else, at least this was fixed quickly!

  26. Adam says:

    Hi,

    I have tried all night to get this to work. I keep getting the same message. What is the typical problem in this circumstance. I never changed anything originally on the contact forms. After upgrading WordPress several updates ago, suddenly I was receiving this “Failed to send…” message.

    Is there another resource, step-by-step for this somewhere?

    Thanks!

  27. Rexedead says:

    Finally!
    It works! Thanks!

  28. Lawrence Fox says:

    Thank-you, thank-you, thank-you, a million times thank-you.

    I’ve been going nuts trying to solve this and then set things up as you suggested — and badda-bing, I get the success message! (And an email in my in-basket too.)

  29. J says:

    Thank you, thank you, thank you!!!

  30. James says:

    Cheers, this works. I always forget about this! Thankfully, you’re the first Google result.

  31. sk8erbryan says:

    Wow, I was ready to start digging into the code and test different versions of the plugin but luckily did a quick Google search first. You saved me a lot of headache I can tell because your easy solution worked.

    The site I’m working on is hosted on Yahoo and I’m sure that it’s a server security setting on their side. It’s not ideal because I’d rather have their email address as the sender but you gotta do what you gotta do.

    Thanks for posting this.

  32. Benny says:

    Hi everyone,

    I m new using contact form on my site, hosting is with godaddy. I have error in my form. When i submit the form it says, Failed to send your message. Please try later or contact administrator by other way… But it works perfect in my local host. Please could you guide me in this.,,

    Hope anyone help me!

  33. Reinier says:

    Damn it took me hours to figure it out, but it was just so simple!

    Thank you very much!

  34. James says:

    Awesome. Worked for me!

  35. Nikhil ZOpe says:

    Thanks a ton brother.. :D

  36. Paul says:

    if it would help i’ve solved that error putting a text in a letter body, and changed from to fields

  37. Vanessa says:

    Thanks very much! So lucky to find your article!

  38. Kiran says:

    i used all ways that are suggested in different blogs but i didnt got the answer. mail is going to all other mail ids bot not to ids ends with .net…. is there is problem with cf 7 to send mail to those ids? plz help… i m not getting what to do with this..

  39. Kiran says:

    if i put the send to address as ” abc@xyz.net” it shows ” Failed to send your message. Please try later or contact the administrator by another method.” it fails to send mail…

  40. Aaron M. says:

    didnt work for me

  41. Chandra Prakash Agrawal says:

    Hi
    I am still unable to work with this trick. Is there any other solution to solve this issue?

  42. George says:

    Not working for me.

  43. Tom says:

    Coolio, worked for me

  44. SD says:

    Cool.

    I was searching for this. Its solved for me. Nice one!!!

  45. Alex Bengo says:

    I hope this can work;

    1. Ensure the To and From emails actually do exist in your domain
    2. Ensure you have the following in your message body

    From : [your-name]

    Message body :
    [your-message]

    I did the above changes and the problem was gone.

    Cheers.

  46. Aaron says:

    did not work for me either

  47. Ann Siegle says:

    I had to use Alex’s suggestion and include this in the subject body section of the e-mail to get mine to work:

    From : [your-name]
    Message body :
    [your-message]

  48. Adrian Pauly says:

    If you’re on a Windows server (sympathetic hug), this might be a slightly bigger issue related to PHP’s mailer function. I found the solution via http://www.gravitationalfx.com/fixing-contact-form-7-failed-to-send-your-message-error/, in which they recommend using the WP Mail SMTP WordPress plugin, which “reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings.”

    The server I was working insisted on refusing to work, so I dug a little deeper and found a list of free SMTP servers you can use as an alternative to your own server, if it’s like the one I’m using and is full of hangups and insecurities. Poor guy. I don’t have that link at hand but you know… Google it. I tried several servers until I found one that worked, and that was that. Errors were erradicated, mail was sent, champagne was poured.

  49. Crystal says:

    Thank you very much for this post. This was BIG HELP.

    Keep up the good work!

  50. Dhruvang says:

    Actually its a perfect way running wordpress version 3.4.2 on nginx with php 5.3 and it worked like a charm

  51. Anoop says:

    Thank you friend.

    You have made my day :)

  52. Bryan says:

    Thanks for posting this. I discovered that when I migrated from my dev server to my prod site that my Contact Form 7 lost most of its Mail and Mail (2) settings. Your post helped me know where to look and notice the problem.

  53. thank you, you saved my customer and time

  54. Pam says:

    Thanks to much, so saved me alot of time!!!

  55. altaf wazir says:

    why my message is faild why

  56. woooowww..... says:

    Awesome … Solution… :) Worked for too…

  57. Trish says:

    Jevin, you are my HERO mister. Thank YOU ever sooooo much. Once I’ve posted my comment, I’m off to another blog who is rating higher than your right now, and I’m going to correct them. They are WRONG and your fix WORKED! Yaba-daba-d0000 :-) {{{HUGS!}}}

  58. Paul says:

    Thanks a lot for this. It really helped

  59. rima says:

    i m write to email in genera; setting then this email is display to contact form 7 inTO: field…. so tell me to and from email is write to different???? and i saw the result in my google email address so its generate FROM field or TO field??

  60. Yup says:

    Saved the day! Thx!

  61. Darrell says:

    Thanks Jevin, your insight was a big help in resolving this issue.

  62. Robin says:

    I followed all the steps but it doesn’t seem to work for me, I still see the message when trying to send an email.

  63. Gauri says:

    Thank you very much
    This post helps me a lot…
    Thanks

    Gauri

  64. Loren Helgson says:

    I had this happen to me as well. Somewhere between my updates of WordPress 3.3 and 3.5.1, my settings got borked, and the contact form stopped working. Thanks for confirming that this was the issue.

  65. Manu Dutt says:

    Great Post this was of great help. Still wondering how it was working before?

  66. sander says:

    I’ve tried to but it don’t work for me:S
    I’ve set in the ‘to’ my contact@mydomain
    and in the ‘from’ aswell my contact@mydomain

  67. aaron says:

    did not work for me.

  68. Hi, Thank you so much for this help. It works for me.

    Thank Again

  69. Adhi Sharma says:

    you saved the day
    thanks a lot

  70. Thanks that just saved my day. I had been searching for a while now!

  71. Anthony says:

    I’m still having the same issue, after taken the steps from the above image. Any suggestions?

  72. kwaxy says:

    Thanks it worked for me. Very Nice.

  73. Tereve says:

    Getting the same message. “Failed to send your message. Please try later or contact the administrator by another method”. However I am using a local installation of wordpress. When I just set up the form it worked. install other plugins and add other pages and check it again in a few hours and it refuse to work. I even reinstall a fresh version of wordpress and try it again and it still doesn’t work.

  74. Pavan says:

    Only set message body.

  75. Momisproud says:

    Thanks man, this fixed it!!!

  76. Anu says:

    Wowwwwwwwwwwwwwww….ur simply awesome..this fixed my error!!! thanks a ton

  77. Dee says:

    Thank you for this simple fix

  78. Max Nogueira says:

    You saved my life, two lost days trying to fix the problem. Thank you SO MUCH.

  79. Sergio says:

    Hello configure the form as mentioned and it works fine, but the form that contains an attachment by pressing send sample legend (Failed sending your message. Please try again later or contact administrator by other means.) But the mail is send the same. I receive in my inbox. and solved it?
    From and Many Thanks

  80. Ashish says:

    Thanks You saved my day

  81. arlene says:

    Thanks a lot

  82. Rhamses says:

    I did everthing that your post told, but the error persists. What else could be? I’m in the windows server with the last version of Contact 7 installed.

Leave a reply