Contact form 7 is a very popular wordpress plugin. It allows webmasters, bloggers to create a contact form easily. Through it visitors can send email to the website admin. If you are a site admin, You may face troubles sometimes. One of a most annoying issues is not sending email problem. Even after getting “Thank you for your message. It has been sent.” this message, You may not receive the email from contact form. It is a real issue for a site admin indeed.
Reasons Behind this Problem:
It can be happened due to several reasons. Most of the time, It is a server issue. Again, It can be a result of misconfigured of plugin. Again, It can be a result of wrong MX records. If this problem is because of your server, You have to contact with your hosting provider. For other reasons, You can fix it by yourself.
How to Fix Contact Form 7 not Sending Email Problem:
Actually, It is not so tough to fix this issue. Here are simple steps that can help you.
Step 1: Check if Contact Form 7 is Configured Improperly
First of all you have to check your plugin. The latest version of this plugin has brought a new feature called Configuration Validator. It will scan your existing forms and show you the errors. Just fix them and check if it does fix not sending email problem.
Personally, I use the following configuration to create form.
<p>Your Name (required)<br /> [text* your-name] </p>
<p>Your Email (required)<br /> [email* your-email] </p>
<p>Subject<br /> [text your-subject] </p>
<p>Your Message<br /> [textarea your-message] </p>
To: Your email address. For example:
From: [your-name] <[your-email]> Subject: [your-subject]
Message Body: [your-message]
-- This e-mail was sent from a contact form on BlogRain (https://www.xtremerain.com)
To understand more clearly, See the screenshot.
If you are still confused how to setup this plugin and create form, Please visit Contact Form 7 Official website and know more.
Step 2: Check your MX Records and MX Entry
Another possible reason behind not sending or receiving email is wrong MX configuration. To check it, Just go to your DNS manager and check the MX records. If these are OK, Check another thing.
- Just go to MX Entry from your Cpanel.
- Now, See how this is configured. If you are using self hosted email, Make sure Local Mail Exchanger is marked. If you are using any third-party services like office 365, Google apps or Zoho to host email, Just make sure
- Now, Wait for 5-10 minutes and try to send a test email through contact form. See your problem has been solved. Personally, I faced this problem and fixed it by this way.
Step 3: Disabling all Plugins
Sometimes, Any plugins can cause the problem. So, You can try to disable all of your plugins except contact form 7 and send test email and see what happens. If it does work, Find out the culprit plugin by activating one by one. Then contact the plugin author for support or remove it.
Step 4: Changing Current Template Temporarily to Fix Contact Form not Sending Email
Sometimes, Your theme can cause conflict with contact form 7. So, You can try to change it temporarily and set any fresh wordpress theme like twenty fourteen. Then try to send test email and see if it works. If it solves the problem, Contact with your theme author for support.
Step 5: Using SMTP
Some hosting doesn’t support php mailing. In that case, SMTP mailer plugins can help you. WP Mail SMTP and Postman SMTP Mailer/Email Log are two of them. You can install any of them and configured correctly from your admin account.
If all of the steps i have mentioned fail to fix contact form 7 not sending or receiving email problem, Contact your hosting provider support team. They can better help you.