Contents
Updated May 17, 2020
Contact form 7 is a free contact form plugin that helps you easily create forms and put them anywhere on your website. Contact form 7 is one of the most use plugins on WordPress with over 5 million active downloads.
I found that some of the forms you create can stop working or have issues when trying to send a message. You will often receive a message with a border saying “There was an error trying to send your message. Please try again later”. Depending on the colour of border the message is surrounded by will determine what kind of fix you need.
If you have the Yellow message, scroll to this section.
If you have the Orange message, scroll to this section.
If you have the Red message, scroll to this section.
Alternative WordPress Form Builder
Yellow Error Message Fix
The yellow error tells us that there is a form validation error. This will be something you need to change in the admin area.
Forms Not Validated
Go to your WordPress admin dashboard and you will see icons on the Contact Form 7 plugin button. Click on the “Contact Forms” button.
Once you get to the forms page, near the top you will see an error message like the image below. Click on the link within this message.
That page will take you to another page where you just need to simply click on the “validate form now” button.
This should fix the problem but if it doesn’t, please comment below and I will help you out.
Alternative WordPress Form Builder
Orange Error Message Fix
The orange error tells us that your form isn’t sending because of a spam issue. Here are two solutions I did to fix this problem.
ReCaptcha v2
Contact Form 7 uses reCaptcha to make sure your website doesn’t receive a lot of spam. Once CF7 moved from reCaptcha V2 to V3, forms stopped working. The easiest solution that instantly fixed these issues for me was to change the reCaptcha back to V2. Here is what I did…
Go to the plugins page and search for “Contact Form 7 – reCaptcha v2“, install and activate it.
Next go to reCaptcha version and select Version 2.
Next go to the Contact Form 7 tab and click on integration. Click on “remove keys”.
Next go to the Google reCaptcha page, sign in and create new site keys for your website. You might need to delete your website property from reCaptcha first. When asked for reCaptcha type, choose reCaptcha V2.
Once the keys have been generated go back to the integrations tab for Contact Form 7 and add your new V2 site keys.
Once you are done, click save then go back to your forms and add the “[recaptcha]” shortcode.
Test your forms again just for safe measure. If this doesn’t work then try the next solution.
Alternative WordPress Form Builder
Red Error Message Fix
The red error tells us that the form is not sending and is caused by your server not sending the email. There are two solutions for this:
Contact Hosting Company
Contact your hosting company and tell them about the issue. They will most likely test the email function on your server and fix it or they will not have a solution which will bring me to the next fix.
Install SMTP Plugin
SMTP and php mail plugins make sure emails are authenticated and properly sent through third parties. The plugin I use to fix this was WP Mail SMTP.
Once you downloaded and activate WP Mail SMTP, go to the settings page.
Go to one of the suggested mailers websites and sign up for an account. I’ve used Mailgun and SendGrid in the past. Once you create an account you will get an api key(s) and you will need to go back to that SMTP plugin settings page to enter your api keys. You will see a place to enter your credentials (see image below). This will appear below the mailer options on the SMTP settings page.
Once your api key is saved, go to the top of this page and you will see an option to send a test email.
Send a test email to make sure everything is working.
Other Things To Try
Caching plugin Conflicts
Another reason why your contact forms may not be sending messages is from caching plugins conflicts. The easiest way to test for this is to deactivate your cache plugin and try testing the form again. If it works, then you either need to find another cache plugin that doesn’t cause issues. I have tested litespeed cache and w3 cache and they both work fine.
Still not working?
A while back I noticed that contact form 7 often had these annoying issues and they happened every time I updated the plugin. Sometimes I was missing out on new clients because my forms wouldn’t send if the form broke without me knowing. I also needed more complex features that Contact Form 7 simply couldn’t offer. If you are frustrated with this plugin, I would switch to a premium plugin as they usually come with support so you could get your issues fixed quickly.
Plugins to use instead
1. WPForms
This contact form builder is great for WordPress beginners because the user interface is easy to use. Simply drag and drop the fields inside your form template.
Theprocess is simple. Design the form, use the block to embed it, and you will have a fully-functional form. You can use WPForms Lite for building a fairly bare-bones template.
2. Gravity Forms
Gravity Forms helps you create more advanced types of forms beyond a simple contact form such as quote forms (that’s what I use it for).
You will get more integrations as compared to WPForms. Plus, the drag-and-drop form builder is easier to use. The large amount of add-ons is what makes Gravity forms so great.
Although Gravity Forms does not provide a free version, it is worth paying for, for the support. They will help you out with your forms very quickly.
3.Ninja Forms
This freemium option on my list is a perfect choice for non-developers. You can use this WordPress form builder to design a nice form in no time.
When you select a form template, it will redirect you directly to a live editor so that you can customize it easily. Unlike other form builders in this list, you can create a wide range of forms using just the free version.
Frequently Asked Questions
Why do I get an error message with a yellow border?
An error message with a yellow border in CF7 means that you have a configuration and validation error in your form at the backend. You will find the error in detail when you go to the Contact Form 7 in the admin dashboard.
Why do I get an error message with an orange border?
An error message with an orange border typically means that the form is not being sent due to a spam problem. This problem is usually resolved by adding ReCaptcha to your site.
Why do I get an error message with a red border?
A error message with a red border typically means that the Contact Form 7 plugin was unable to use the underlying mail sending functions of the server and will need some additional configuration to be able to send the CF7 emails and forms.
Help
Let me know if one of these solutions worked for you and if not put in a comment below and I’ll gladly help.
Related article:
3 Best Contact Form Plugins for WordPress Compared
Related Articles
How To Add A User To Your Google Analytics Account
How To Add A User To Your Google Search Console Account
The Role of Backlinks in Law Firm SEO: Building Authority Online
Harnessing Local SEO for Law Firm Growth: Strategies for Enhanced Client Acquisition
WPForms vs. Contact Form 7: The Best Choice for Your WordPress Site?
A Step-by-Step Guide to Adding Someone to Your Google Ads Account
Ryan Cameron
Hi, I’m Ryan Cameron, an SEO consultant for service based businesses. I help businesses get more traffic to their website which then will turn into leads and new customers.I do this by optimizations businesses websites so that they follow Google's requirements for ranking.I specialize in service based businesses such as law firms, financial advisors, real estate, architects, mortgage brokers, therapists, roofers and any service business.If you need help with ranking your website higher in search engines, please feel to reach out via my contact form.I hope you enjoyed my article.
Comments
100 Responses
Realy helpfull Thank you
Reply
Thank you 🙂 Please let me know if there are any other topics you would like covered.
Reply
Finally, I got a solution, google ReCaptcha works for me, Big thanks!
Reply
Hi, This error is still coming. I have installed litespeed cache. But still error is coming.
Reply
Try deactivating all plugins and see if the issue still persists. Did you validate your forms?
Not working contacts form 7
Reply
What are the errors?
Reply
Hi Ryan, I deactivated all plugins except contact 7 and recapchta v2 and it still didn’t work. I don’t have a cache plug in. Question 1, should I have 1? Question 2, where do I go from here withe recaptcha error?
Reply
What is not working exactly? Will the form send but you never get the email? Or do you get a red or orange error when you press submit?
Reply
In my case contact form not working
Reply
Is your form validated? Please give me more details so I can help.
Reply
Hi Ryan, I deactivated all plugins except contact 7 and recapchta v2 and it still didn’t work. I am getting the same error message. please help…
Reply
Hi Dimitris,
Please send me your login details to my contact form and I will take a look at your site for you.Reply
Thank you for your message. Fortunatelly there was a problem with my email client. Not it works! So, it was my fault!
Reply
Glad to hear you figure it out 🙂
Reply
Hi Ryan, I receive the error message with an orange box around it. I’ve followed the steps you’ve suggested here and it still doesn’t work. Any help is appreciated. Thank you.
Reply
Are you getting any error messages? If you send your user credentials to my contact form I could take a look at the backend of the site if you would like.
Reply
Thanks, Ryan! I just emailed you through your contact form.
Reply
I think that you may have fixed my problem. I just need to wait to see if my client receives the contact form messages. I have been trying to post in forums, asked the Contact Form 7 developer (who was less than helpful) and no one could help. My issue was that the form was not working on Chrome or Safari for iPhone 7. Crossing fingers that those test messages arrive! Thanks again!
Reply
Ok, no problem. Please post a reply if it does not work. Thanks
Reply
Just thought I would follow up to say that the test messages arrived! Changing the “reCaptcha” per your instructions was what fixed this for me.
Reply
Happy to hear, Nicole. Thanks for the follow up 🙂
Reply
Not working on my side. I have tried V2 and V3. When I deactivate the reCAPTCHA plugin the messages work. When reCAPTCHA is active V2 or V3 then it doesn’t work. Checked the integration as well as the reCAPTCHA plugin settings.
Reply
Same here. I know this was a while ago (almost 2 years!) but I’m frustrated that I haven’t been getting messages….
Reply
Did you try deactivating all your plugins and then testing the form? Could be a plugin conflict.
My advice is to just use a pro forms plugin mentioned above to avoid all these problems. Having pro support is also a huge advantage where the plugin owners would be able to fix the problem for you. It’s worth it, my site is using gravity forms.
Reply
I am having the same error with red border, I don’t have any cache plugin installed. I am also tried with SMTP as well, still issue persist and not able to sent any emails.
Reply
Hi Gopal, I just updated the article to include the red border error, please let me know if this works for you.
Reply
Thanks for you reply, one of our website sort out the issue having red border through SMTP plugin, but I have one more site having the same issue with orange border. But in this site (https://www.auditgenius.net/contact/) I am configuring the SMTP plugin, So I can sent a test-email through SMTP but not able to send through our contact form. If this is related with captcha, So I used really-simple-captcha plugin for the same. And I had also test the default (basic) wordpress form without captcha, But the issue persist in orange border. Thanks in Advance
Reply
When you tried really simple captcha, did you use captcha v2? I tried looking at your site but it does not load.
Reply
Hi Ryan,
no chance on my website: https://www.naturfotografie-kruse.de/fotoworkshops/fotoworkshop-kreative-pflanzenfotografie/
I deactivated the cache plungins (autooptimze and WP fastetst cache, and installed reCaptcha V2, but still get an red-boxed error massage
Reply
Hi Helmut, I just updated the article to include the red border error. Let me know if this works for you.
Reply
Thanks.
For me i find another solution, very simple, but don’t understand why it works.
I do not mark the checkbox “HTML Content” in the E-Mail settings of each form. In the past all forms work well with this option….Reply
Hi Ryan,
Your article is very detailed and I followed your article solved the Orange message issue with ReCaptcha v2. But I still could not solve the Red Error message issue.
As your updated article steps:
1. I installed the WP Mail SMTP and configured with mailgun,
2. I received the test email sent by WP Mail SMTP
3. I deactivated all necessary pluginsBut I still get Red Error message! 🙁
Reply
Hi Ryan,
I solved the issue by changing the code of mail.php.
wordpress_src/plugins/contact-form-7/includes/mail.phpL134
return wp_mail( $recipient, $subject, $body, $headers, $attachments );
->
return wp_mail( $recipient, $subject, $body );But I have no idea(didn’t spend time) why the default $headers will cause the wp_mail send to fail.
Reply
for me it is not really a good choice to deactivate html in the forms. But this seems to be the only way to get contact form 7 work.
I think i will use another pluginReply
Best to use Gravity Forms
Reply
Just want to say thanks! I downloaded the recaptcha v2 and everything is working again. Thanks again!
Reply
Great, happy to hear!
Reply
Hello, I receive the error message with an orange box around it as well. I’ve followed the steps you’ve suggested here using Mailgun and it still doesn’t work.
I am having this error message:An issue was detected.
This means your test email was unable to be sent.
Typically this error is returned for one of the following reasons:
– Plugin settings are incorrect (wrong SMTP settings, invalid Mailer configuration, etc).
– Your web server is blocking the connection.
– Your host is rejecting the connection.
Any help is appreciated.Thank you.
Reply
Hi Georges,
Using mailgun is for the red border issue. Orange border issue is due to spam. Please use the solution for the orange issue by changing your captcha to V2.
Reply
Hello Ryan,
I changed the version from 3 to 2 (v2) and the shortcode “[recaptcha]” should be added to the form but where exactly should I add it?
Reply
The recaptcha shortcode should be at the end of the your form before the submit button. I will add the image to this article.
Reply
Hello Ryan, If you go on my website and try to use the contact form 7 you will see the red border I tried now and got this message:
There was an error trying to send your message. Please try again later
Trying to solve that issue I tried the steps you suggested and still doesn’t work.
Reply
I checked your site and seems like the form is working.
Reply
Hello,
I am trying anything to get my contact form 7 working without any success. I tried every step mentioned above but no results. I am still getting red border trying to send a message, I changed my captcha to V2 and no results then I went back to V3, I received no test email using WP Mail SMTP and I don’t have any change on my website. I don’t know where my problem is?
Could you please help me giving me at least some advice?Thanks a lot
Reply
If wp mail smtp did send the test email then this is something to do with your server/hosting. Submit a support ticket with your host and they should be able to solve this issue for you. Otherwise I would use a premium plugin like Gravity Forms as they have a support team unlike contact form 7.
Reply
Thanks for posting this. Ultimately, my issue was related to ReCaptcha, which I resolved by installing ReCaptcha v2 for Contact Form 7.
Reply
Glad to hear you were able to fix the issue. ReCaptcha v3 seems to cause a lot of problems.
Reply
Hi i tried your steps, still getting the error in orange while filling the form how to solve this ?
Reply
Is the plugin up to date and your form validated?
Reply
This didn’t work for me. I tried the SMTP route as I had a red error and when I tried the test email it just gave me another error
Reply
Did you try contacting your host? The might have more insight why the emails are not sending.
Reply
I got a red one. Followed the steps and it worked perfectly! Thanks. Must say the google screenshots differ a bit, but it was really helpful.
The issue disappeared straight away.
Reply
I am getting the orange error message, but I don’t use recaptcha. I just have a question I added, instead. It used to work fine, but doesn’t, anymore. Any suggestions to try? Test emails come through okay, but the contact form doesn’t work
Reply
Actually, I finally figured this out, after adding Flamingo to my site. Though I haven’t been using recaptcha, apparently my site thought I was. I deactivated the recaptcha keys and will continue to use the quiz I had added to my form to prevent spam. Took hours, but your information and some other stuff I found helped me figure it out. Thank you!
Reply
Happy to hear you were able to solve the issue 🙂
Reply
Many thanks for the article, solved send issue with contact form 7 !! 🙂
Reply
Happy to hear! Thanks for the feedback.
Reply
Hi, I have the yellow error showing up when trying to submit all forms on my site, but there is not configuration notifications on the back end. I seem stuck.
Reply
Is contact form 7 updated?
Reply
Yes it is updated
Reply
Which page is it on? I don’t see any forms on your website.
Reply
Sorry, we had to disable them since they weren’t working. If you go here (https://northtexas.ag/contact-us/) , there is a form now.
I noticed the recaptcha is v3 on your website. Try using recaptcha V2, instructions are in this section: orange section. If this doesn’t work then send me a message through my contact form with your login details and I will take a closer look.
hi i am using a multistep contact form 7 plugin so when i click submit button then i see “There was an error trying to send your message. Please try again later.” in a red box. what should i do?
Reply
Have you tried making the same form without multisteps? Sometimes if you have steps and some of those fields are required it will cause errors. Gravity forms is better for multisteps, this is actually the reason why I started moving away from contact form 7 to gravity forms.
Reply
Thank you so much! You’re such a lifesaver. I was even developing a headache before stumbling on this post. The reCaptcha plugin solution is what I tried and it worked.
Reply
I appreciate the feedback, seems like the reCaptcha causes many problems!
Reply
THANK YOU. It worked
Reply
Hi Ryan, thanks for the informative post, helpful in solving the various problems that I’ve had. But I also am having intermittent problems, with someone infrequently telling me they had an error and couldn’t submit. I use Flamingo so I know it’s not spam, and I get most messages (I think), so I don’t think it’s and email problem.
Is there any way to get emailed or notified when there’s a submission error so I can immediately try to debug? The form always works when I test it.
Reply
The issue is probably with Flamingo but I can’t say for sure, I never used it. Try removing it for a while, recaptch v2 is enough to block spam. CF7 breaks so often that I only use Gravity Forms now.
Reply
We had an issue regarding Orange Box. The contact form submitted by users would throw the error with orange box.
We had Flamingo installed to save the contact form into a database. Flamingo is a plugin created by the same guy behind contact form 7. So I was using Akismet spam protection for my contact form and it was judging the contact submissions as wrong and categorised as spam.
You can find this details by going to flamingo and by finding the saved messages. Then you have an option to click “Not Spam” and train the AI behind Akismet. After I did that it correctly sorted the next contact submissions.
So if your issue is not because of reCaptcha, and because of Akismet, you should try installing flamingo and retrain the system.
Reply
Thanks for the update, I’m sure the readers will appreciate it.
Reply
This fixed our problem – moving from v3 to v2
Reply
Thanks for the guideline. I have fixed the issue after reading your blog.it was a capcha issue on my website.
Reply
Glad you were able to solve the issue, thanks for the feedback.
Reply
I’ve the solution. Install Flamingo plugin then send a message then go to flamingo – inbound messages and check the spam log. In my case it was because I’m using some disallowed words in my form. To see your disallowed words go to settings – discussion – disallowed comments
Reply
My form is working. The emails are being sent through wp mail smtp with a sucessful receipt. I am using Sendgrid as the Mailer. The issue is that the form still displays red box error, which says to the user that the email hasn’t been sent.
Any idea how to resolve this one?
Reply
Are you using Flamingo? Seems like a lot of issues are caused by this. I would probably also reach out to your host and see if there are error logs or if they can look into the issue. I haven’t seen to many errors like this so please let me know if you are able to figure it out.
Reply
I turned off wp SMTP mail and I can still recieve the emails however the form still returns a red box error.
With flamingo the suission are being listed.
I have checked my php version and I am running 7.4.3
Any suggestions?
Reply
This is something to do with your server. I would reach out to your host and ask them to check the error logs.
Reply
I am the one managing the server…not my expertise though. Any idea what logs I should be looking at. I am running Ubuntu with litespeed server.
Server settings are not my expertise either. Usually I contact my host and they figure out the issues. You will need to turn on the error logs on your server and you check to see if your server allows Mail() php function. Another thing to try is to migrate your site to a development environment with a different host to see if the issue still happens.
Amazing article thank you for your efforts RC !
Reply
So thank you for featuring a post about this problem. It’s affecting one of our webpages. However, your color schemata doesn’t seem to apply to us. We get a RED message, which according to you means that the form is not sending and is caused by your server not sending the email. However, in our case, the form IS sending. We’ve confirmed this multiple times. But each time a person fills out the form and clicks subscribe, that error message appears.
So what else is there to do? I’ve tried emptying the cache, updating the plugin, etc….
Reply
What are you using for the user to subscribe? If you are using a third party plugin that could be causing the issue. Also, try deactivating all plugins except for the form plugins and then testing out the form.
Honestly, I just move away from free plugins especially when it comes to important things like forms. Try using one of the pro forms recommended above.
Reply
Hey Ryan,
I have had a look through this and still having issues. I am getting the yellow error message of: There was an error trying to send your message. Please try again later. I’m not sure if this is a problem within wordpress as a whole or our site.
Thank you.
Reply
Did you try deactivating all plugins except for the forms to see if that worked? It could be a plugin conflict. I noticed console errors when I took a look at your site.
Reply
Thank you very much, this really helped me!
Reply
this totally worked!! I redid the V2 verification with your recommended plugin.
Reply
Thank You Very much for this one. Finally my contact form is okay. Thanks
Reply
Hey, Ryan, thanks for this! In my case, I had the orange border. Apparently, there was an outdated recaptcha integration. The site hadn’t been maintained in about 5 years, so, I created a new recaptcha, installed it and voila! The form works again!!
Reply
GRACIAS!!! your help with Recaptcha V2 fix my issue <3 i love you
Reply
thanks – my forms stopped working. tried all sorts; PHP updates, deactivating plugin, changing the mailer – couldn’t fix it – but the reCaptcha V2 plugin did the trick. delighted to have sorted it – it was doing my head in!
Reply
Thx for posting this, it worked perfectly!!
Reply
Actually, it works for me, but I don’t want the “I’m a robot” box to appear below my contact form before submitting. Is there any way to fix this issue without displaying a captcha box, similar to the v3 captcha which handles all requests without showing any captcha? Unfortunately, it did not work for me.
Is there any solution ?
Reply
It gives me the following error, no matter what I do, it doesn’t work
Reply
Hi, I’m getting Failed to send your message. Please try later or contact the administrator by anothe with red border.
Could you please help me?
Reply
Thanks for sharing, can you tell me the plugin to stop fake enquiries.
Reply
Thank you very much for this post as it resolved my issue with very little effort.
Reply
Free SEO Audit
Have your website reviewed by Ryan and find out how your site is ranking and what's holding it back from ranking in the first position.
Audit My Site
Consultation
Seeking to increase your website’s visibility, traffic, and ranking on search engines? Get a free consultation to discuss.
Contact