Are you not receiving email notifications from your WordPress contact forms? Unfortunately, the WordPress contact form not sending email issue is very common.
However, you can quickly fix this problem and start receiving those emails by setting up Simple Mail Transfer Protocol (SMTP) on your website. This tutorial shows you exactly how to fix the WordPress contact form not sending email issue.
Why You’re Not Receiving Notifications
Are you frustrated because your forms aren’t sending emails and they keep disappearing? It’s a big issue in the WordPress community, and can really hurt your lead generation efforts. And if you’re here because you were searching for the answer to “Where does WPForms send emails?” then we’ve got you covered.
There can be a lot of reasons behind the lack of email notifications. Here are a couple of the most common:
- Your WordPress hosting server (even unmanaged or managed WordPress hosting) is not configured to use the PHP mail function that WordPress uses to send emails that are generated by a contact form plugin like WPForms.
- Your email server is blocking it as spam. To reduce spam emails, your email provider often checks whether your email is originating from the location it claims to be originating from. For example, if your email server is yahoo.com, chances are your form notifications won’t even make it into the spam folder since they’re sent out from a completely different server. This can cause tons of issues including WooCommerce emails being lost, Gravity Forms not sending email, or Ninja Forms not sending email.
This is why we recommend using SMTP to send emails from WordPress instead of using the default PHP mail function. SMTP (Simple Mail Transfer Protocol) is the industry standard for sending emails that use proper authentication methods to ensure email deliverability.
In this post, we’ll be using the free WP Mail SMTP plugin to send form notifications using a simple setup with any email account.
Note: This tutorial method is less secure because it stores your email login and password in your WordPress dashboard. Other WordPress administrators have access to this. For a more secure option, we recommend using one of WP Mail SMTP’s secure mailers.
How to Fix The WordPress Contact Form Not Sending Email Issue
In This Article
- Step 1: Install the WP Mail SMTP Plugin
- Step 2: Configure Your From Email
- Step 3: Configure Your From Name
- Step 4: Select Your Mailer
- Step 5: Configure Other SMTP Settings
- Step 6: Generate an App Password
- Step 7: Send a Test Email
Step 1: Install the WP Mail SMTP Plugin
Step 2: Configure Your From Email
After installing and activating this plugin, go to WP Mail SMTP » Settings to configure the mail options.
Here, you’ll first be asked to enter your From Email. This is the email address that all of your site’s emails (including form email notifications) will be sent from. If you’re setting this up on your business website, you might want to enter your business email address here.
This setting works with most mailers, although there are some exceptions. If you use Zoho Mail SMTP, your emails will only be sent from your Zoho Mail address, so this setting will be grayed out in the plugin.
Note: Make sure to enter the same email address you will be using to send SMTP emails (your Yahoo, Gmail, or Live email address).
Additionally, in WPForms the same email must be used in the From Email setting for your form notifications.
We strongly recommend that you also check the box labeled Force From Email. Since any email sent from your site must use this email address in order for SMTP to work, this will save you the trouble of editing the WordPress email settings throughout your site (in all form emails, etc).
Step 3: Configure Your From Name
Next, you can change your From Name. By default, this will be set to the site name. However, you can change this to anything you’d like, like your actual name for personalization.
You can also choose to Force From Name to apply this setting to emails site-wide.
We also recommend checking the optional Return Path checkbox to Set the return-path to match the From Email. With this enabled, you’ll be emailed at that address if any messages bounce as a result of issues with the recipient’s email.
Step 4: Select Your Mailer
Next, in the Mailer field, you’ll need to select the Other SMTP option.
If you’re having problems with WooCommerce not sending email, you might want to use a different mailer that’s more suited to transactional emails. Feel free to check out our tutorials on some of the other mailers available like SendLayer, Sendinblue, SMTP.com, or Mailgun.
You can also use the Gmail mailer to send email from any Gmail address or Google Workspace alias. You can also use multiple aliases to send email. Check out the guide on how to send WordPress emails from Gmail aliases to set this up.
Step 5: Configure Other SMTP Settings
After selecting Other SMTP as your mailer, a new section will appear called Other SMTP. Here, you’ll need to enter additional details to connect your site to your email provider.
Each email provider requires slightly different SMTP configurations. In this tutorial, we’ll take a look at how to configure options for Gmail, Yahoo, and Live/Hotmail.
When entering your username and password for any email option, please note that this information is stored in plain text. For a more secure approach, check below the SMTP Password field for instructions on adding the password to your site’s
wp-config.php file instead.
For more details check out WPBeginner’s tutorial for details on how to edit wp-config.
Here are the SMTP settings you’ll need for the most popular email providers:
Gmail / Google Workspace SMTP Settings
If you want to send notifications using your Gmail or Google Workspace accounts, you can use the below SMTP options.
- Host: smtp.gmail.com
- Port: 587 (or 465 using SSL encryption)
- Username: Your Gmail account email address (e.g. [email protected])
- Password: Your Gmail account password
- Encryption: TLS
Then, enter your Gmail username and password and save these settings.
Note: Please note that we recommend using the built in Gmail integration instead of this less secure Other SMTP mailer. If you use SMTP, though, don’t forget to enable less secure apps in the next step.
Hotmail / Live SMTP Settings
If you want to send notifications using your Hotmail or Live email, you can use the below SMTP options.
- Host: smtp.live.com
- Port: 587
- Username: Your Hotmail account email (e.g. [email protected])
- Password: Your Hotmail account password
- Encryption: TLS
Then, enter your Live or Hotmail username and password, and click Save Changes.
Yahoo Mail SMTP Settings
If you want to send notifications using your Yahoo email, you can use the below SMTP options.
- Host: smtp.mail.yahoo.com
- Port: 465
- Username: Your Yahoo Mail account email (e.g. [email protected])
- Password: Your Yahoo Mail account password
- Encryption: SSL
Then, enter your Yahoo username and password and click Save Changes.
Note: Please note you will need to enable less secure apps, found in the next step.
AOL SMTP Settings
If you want to send notifications using your AOL email, you can use the below SMTP options.
- Host: smtp.aol.com
- Port: 587
- Username: Your AOL screen name (e.g. john)
- Password: Your AOL account password
- Encryption: TLS
Once these details are entered, be sure to click the Save Settings button.
Step 6: Generate an App Password
In order to use SMTP on your WordPress site, you may need to generate an app password. Below, we’ll show you how to do this in:
If you’re using Live or Hotmail email, you don’t have to create an app password to configure SMTP on your site.
For more details and instructions on how to generate an app password for other providers, please see WP Mail SMTP’s documentation on the Other SMTP mailer.
How to Generate an App Password in Gmail
Before you can generate an app password in Gmail, you’ll need to turn on two-factor authentication.
Once that’s done, log in to your Google account and go to the App passwords section in your security settings.
From the Select app dropdown, choose the Other (Custom name) option.
Then type in a custom name for this password. We recommend using “WP Mail SMTP” or something else that will help you easily identify what this password is for.
Then click on the GENERATE button. This will show you your new password, which you can copy and paste into the SMTP Password field in your WP Mail SMTP settings.
How to Generate an App Password in Yahoo
To create an app password for Yahoo, log in to your Yahoo account.
Now scroll down to Generate app password and click on it.
A screen will appear to generate your password. From the dropdown, select Other App. Name it something easy to identify and click on the Generate button.
Your password will be displayed on the next screen. Copy it and click done. You’ll need this to paste into the WP Mail SMTP settings area.
Once the password is generated, you can paste this password into WP Mail SMTP.
Step 7: Send a Test Email
Once your SMTP settings have been added to WP Mail SMTP, it’s important to send a test email to ensure that everything is working right.
To send a test email, click on the Email Test tab on WP Mail SMTP’s settings page.
On this tab, you can enter any email address that you have access to and click the Send Email button.
After sending the email, you should see a success message.
If you check the inbox for the email address you just entered, you should receive the email for this test. If you’re using Yahoo email it may take about 5 – 10 minutes for it to arrive in your inbox.
Be sure to also test out your form emails by submitting a couple of test submissions after completing this setup. That way, you can check that emails deliver successfully.
And don’t forget to set the From Email in your form’s notification settings to the same email you set up this SMTP with.
Next, Cut Down on eCommerce Cart Abandonment
That’s it! You’ve successfully configured SMTP on your WordPress site. You’ll now start getting notifications from your WordPress forms. In fact, you can even send confirmation emails after form submission to your users.
And now that your email notifications are working properly, you might also want to check out our post on how to reduce shopping cart abandonment so you can learn more about sending abandoned cart emails and other tips.
What are you waiting for? Get started with the most powerful WordPress forms plugin today.