Technoreply

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

| 79 Comments

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.

79 Comments

  1. 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]

  2. 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.

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

    Keep up the good work!

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

  5. Thank you friend.

    You have made my day :)

  6. 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.

  7. Pingback: [Solve] Unable to send mail from Contact Form 7 | Crackjet Simplified

  8. thank you, you saved my customer and time

  9. Pingback: Wordpress – Contact Form 7 Send Error

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

  11. why my message is faild why

  12. Awesome … Solution… :) Worked for too…

  13. 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!}}}

  14. Thanks a lot for this. It really helped

  15. 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??

  16. Saved the day! Thx!

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

  18. 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.

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

    Gauri

  20. 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.

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

  22. 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

  23. did not work for me.

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

    Thank Again

  25. you saved the day
    thanks a lot

Leave a Reply

*



captcha