Are you experiencing problems because the Contact Form in Divi is not working? Don’t worry, here we’ll explain how to troubleshoot the issue and how to fix it.
Divi is one of the best WordPress themes out there. Apart from having tons of features, this theme also includes a module that allows you to add contact forms anywhere on your site. However, many users experience problems with it because the emails aren’t sent.
Contact forms are critical for any business. They’re one of the main means of communication that your customers use to get in touch with you. So if your contact forms are not working, you should fix them! Before jumping into how to fix this issue, you have to understand the possible causes of the problem.
Let’s have a look at why the Divi Contact Form may not be working.
Why is Divi Contact Form not working?
By default, your web server uses the PHP mail() function to send emails. However, this has some limitations:
- The PHP mail() function can’t send mass emails.
- It lacks authentication on the server, which causes some email services to mark them as spam. To reduce spam, some email providers check if the emails are sent from the location they claim to be sent from. And emails sent from WordPress usually have problems. If your email server is Gmail but your emails claim to come from your site’s domain, your emails may be automatically blocked.
- Some hosting servers aren’t properly configured to use the PHP mail() function.
- Most WordPress hosting companies limit the usage of this function per account. So, when you use your daily or monthly quota entirely, the emails you send won’t be delivered.
In most cases, these are the main reasons why Divi’s contact form doesn’t work. The good news is that you can fix these delivery problems with SMTP (Simple Mail Transfer Protocol) tools. SMTP changes the way the emails are sent and properly authenticates them to make sure your emails aren’t marked as spam by email services.
That’s why even if you don’t have issues with your emails, we recommend using an SMTP service. Now that we better understand the problem, let’s see how to fix the issue with the Divi Contact Form Module.
How to fix Divi Contact Form not working?
The best way to fix the Divi contact form issue is by changing the email configuration from the default system to the SMTP configuration. To integrate SMTP to your WordPress site, you need two things.
- An email delivery service
- A plugin for SMTP
1) Set up the Email Delivery Service
Regarding the email delivery service, there are many options out there. For this guide, we’ll use SendGrid. It has excellent features and offers great value for money. So, simply go to SendGrid and create an account. There are both free and premium plans. For this tutorial, you don’t need any premium features so the free option will work just fine. You will need to create an account and integrate SendGrid with your server using web API or SMTP relay. Once you click the Start button, you will see this page. SendGrid recommends using the integration via Web API but we’ll use the SMTP relay method. You will need to enter a name for your API key and create it. Within a few seconds, you will get the key. That’s it for now with the Email Delivery Service. However, keep this tab open. You will need the key later on to complete the integration.
2) Configure SMTP Plugin
To set up an SMTP to fix the issue of the Divi contact form not working, we recommend using WP Mail SMTP. There’s a free version available on the WordPress repository and a premium version with more advanced that starts at 49 USD per year. To fix the Divi contact form issue, the free version is all you need. The first thing you need to do is install and activate WP Mail SMTP on your site. Go to Plugins > Add New and install the WP Mail SMTP plugin.
After the installation is done, remember to activate it. Now, you are ready to start the configuration. In your WordPress dashboard, you will see the plugin settings section.
The first configuration you need to check is the From Email address.
By default, WordPress will pick the admin email address as your From Email address but you can change it. Additionally, there’s an option to force the From Email address. This means that all the emails will be sent from that address, even if third-party plugins are sending out emails. Then, you need to choose the From Name.
Again, by default, WP Mail SMTP will use the admin’s name but you can choose a different one. Similar to the email address, you can force it to always use the From Name for all emails. Finally, you have to choose the mailer settings. There are several popular mailers such as Gmail, Outlook, SendGrid, SMTP.com, Pepipost, Sendinblue, Mailgun, and Amazon SES. Here, choose SendGrid for your server and you will see the customization options.
All you need to do is paste the SendGrid API key you generated when setting up the email delivery service. Once you have done that, save the settings.
Test the email
After setting up the email delivery service and the SMTP plugin, it’s a good idea to test the email feature. WP Mail SMTP comes with a feature to test emails.
Simply enter a destination email address and send a test email. If the configuration is correct, you will see a success message.
Now, let’s go back to the SendGrid API page and tick the I have updated my settings box.
Then, verify the integration and the server will start verifying the connection. It will take some time to complete the checking and when it finishes, you will see a screen like this.
Divi Contact Form issue fixed
That’s it! After configuring the plugin and the email delivery service, you’ll make sure that every email coming through your Divi contact form will reach its destination email address. With these SMTP tools, you will improve email deliverability and fix the issue. SendGrid is one of the best email delivery services. If you want to use a different one, we recommend Amazon SES. It is an excellent option for both freelancers and businesses.
Bonus
The Divi contact form module may not work when you’re running an outdated version of the theme. To fix it, enable the option to receive automatic updates. You will need to enter your Elegant Themes Username and API key and save the changes. So now every time there’s a new version available, you will be able to update Divi from the WordPress dashboard.
Conclusion
All in all, in most cases, the contact form module in Divi stops working due to an email deliverability issue. If that’s your case, you can use an SMTP plugin on your site to fix it. We recommend you move from the PHP mail() function to the more stable SMTP system. In this guide, we showed you how to fix the Divi Contact Form issue using SendGrid and WP Mail SMTP.
However, there are many other tools out there so you can use the one that you like best. Are you looking for more Divi guides? Check out the following posts:
- How to Add the Add to Cart Button in Divi Shop Pages?
- How to Hide and Remove Footer in Divi?
- How to Fix Divi Builder Timeout Error?
We hope you have found this article interesting. If you enjoyed the read, leave a comment below and share this article on social media!
18 Comments
Add comment Cancel reply
You must be logged in to post a comment.
apart from wp mail smtp, any other alternative light weight smtp plugin?
Hi Calvyn,
Some of the notable SMTP plugins are Easy WP SMTP, WP SMTP, Mail Bank.
All of them are easy to use 🙂
Hello, thank you for this great tutorial. My question is if I set this up as you have recommended will it change the settings for my clients email? Ie, is there any risk that they will have issues receiving their emails to their desktops / mobiles etc? Thank you! Alison
Hi Alison,
There won’t be any troubles. Your clients will receive emails.
It ruins my wordpress site… wtf!!! someone can help me? it says There has been a critical error on this website.
Hi Martin, the guide explains how to change the email configuration and set up the tools so I don’t think it’s the reason your site is having issues. Anyway, if that’s the case, simply deactivate the plugin and go back to the previous configuration you had before
Great! This worked a treat and very easy to follow – thanks!
Great, thanks Joe!
Freaking leeeggeeeennnnnnd! Finally. A free and repeatable solution for this constant annoying issue lol. Thanks a bunch 🙂
Thanks Kaleb! We’re glad that the post was useful.
I have recently encountered this issue on my website and was looking for ways to resolve it. Thank you man!! You saved my day.
You’re welcome, Donna! Glad to hear the post was useful
My divi contactform is not working yet… I followed the set up several times to make sure I did the right thing. The plugin says the email is successfully sent but I receive nothing in my mailbox. I did verify the sender as the SendGrid asked for…
What could it be?
Thanks for sharing a nice article
How to Enable IMAP/POP3/SMTP for Gmail Account?
In your Gmail account go to Settings > Forwarding and POP/IMAP and there you can enable POP and IMAP
Great! its working very fine. i was worried for that. now its work through SMTP.
Thank bro I have such that issue on my website, I will follow your tutorial
Hi. I need some help. My WordPress contact form can send email to my yahoo mail but not to Microsoft Outlook which is the business email ( with a website domain ). What should I do? Thanks