How to Fix "Failed to send your message" in Contact FORM 7 on wordpress

admin

Administrator
Staff member
Hello I have Contact Form 7. It was working nicely. I wanted to add captcha to my form so contact form 7 has an option to add captcha but it requires integration with settings. I followed the same mentioned steps. I went to Google’s reCAPTCHA admin page, Registered my website and got site key and secret key then added those keys to wp-admin
Code:
Contact > Integration
and save them. Then my contact form was not working.

Then i opened the
Code:
mail
tab in my contact form 7. I have lots all the settings. not sure what settings to use.

I have two version of site, one is live and one is demo site. So I have copied the
Code:
mail
settings of demo to live site. Copied exactly the same settings.

My demo's FROM setting contains this

Code:
[your-name] <[email protected]>

For example this is my demo site
Code:
demo.lmdemo.com
so added
Code:
in FROM Section.

but my contact form is giving me this error

Code:
Failed to send your message. Please try later or contact the administrator by another method.

What I have done so far.

<ul>
<li>I have tested on default theme, still giving me same error.</li>
<li>I have deactivated all other plugins, still giving me same error.</li>
<li>I have deactivated Contact form 7, and activated again, still same
error.</li>
</ul>

Contact form on my demo site is working perfectly, but not on live website. Contact form has same settings on demo and live.