Contact form 7 is one of the best form plug-in with 5+ million downloads and 4.9 ratting it is used for making contact forms on WordPress websites. Its easy to use and easy to customize. The users can easily add or remove contact fields according to their choices. In recent updates CF7 is getting some issues regarding message sending. Failed to send your message. Please try later or contact the administrator by another method. and There was an error trying to send your message. Please try again later These are the two most common errors in CF7. There are several things which are becoming the causes of such problems. In this tutorial I’ll discuss all the reasons and will explain how to fix them.
The very common and basic reason of this error is cache. I noticed that Contact form 7 generates a unique token when a user submits the form. But due to Cache issue it was not able to generate the unique tokens. That’s why it was throwing the error.
We can simple fix this problem by
- Install WP Super-Cache
- Go to its Advance tab
- In this tab search for Add here string
- Enter the page name where you have embedded the contact form for example you have embedded on contact us in this case enter /contact-us/ in the tab
- And click on Save String
Anti Spam Plugins
Sometimes some anti spam plugins stop CF7 to send emails and messages. the very common Plugin which is used for anti spam is Askmit try to deactivate this plugin.
Changing the mail function
This is also a handy method to get rid of this issue. Go to your C panel
after getting to this file find the line number 85 and change the return wp-mail ()to return mail()
If you are still failed to fix the issue feel free to drop your comment under this post I’ll assist you in possible ways.