It’s very common when users face a WordPress not sending email issue. The problem shows up when you experience an issue with the contact form plugin on your WordPress not sending your email notification.
In this post, we’ll help you learn how to fix WordPress not sending email issue and get your email and other communications delivered right to your inbox.
Your WordPress, like other apps, distribute emails with the help of PHP. The server is already configured correctly most of the time. Sometimes, when your PHP is restricted by your host to control automated spam, the problem with your WordPress emails starts showing up.
Let’s learn to fix it.
Use SMTP Servers To Fix WordPress Not Sending Email Issue
You need to download and install WP Mail SMTP plugin on your WordPress to fix the issue.
- Activate the plugin and head to Settings
- Go to Email and navigate to the Mailer section
- Provide your name and email address
- Check the Send all WordPress emails via SMTP option
- Navigate to SMTP Options and provide your email server settings (you can check these from your cPanel > email accounts)
- Provide your server’s SMTP login credentials
- Click Save Changes
- Click Send a Test Email
If you receive the test email now, your problem is resolved. If not, check your SMTP settings again from your server’s cPanel and match it with the details you filled on your WordPress Settings page.
Alternatively, you can try another method to fix the email issue on WordPress.
Use Google SMTP Servers To Fix WordPress Email Issue
You can use Google SMTP server by creating a free Gmail account to address the issue. So, once you have set up an account on Gmail, do the following:
- Download and install the Gmail SMTP plugin on your WordPress
- Navigate to Settings
- Configure the plugin by going to Gmail SMTP
- You need to create secure credentials to authorize the WordPress plugin. For the same, access developers.google.com in a new tab
- Open the Gmail account you just created
- Head to My Project > Add (+)
- When the window for creating a new project appears, give it a name and click Create
- Navigate to the sidebar and click Dashboard > Enable APIs and Services
- Click the Gmail API link and select Enable at the top of the screen
- In the sidebar, click Credentials > Create Credentials
- Select OAuth client ID
- Navigate to the Application type and click Web Application
- Click Create
- Enter a name and keep the Gmail tab open
- Go to your WordPress in the other tab and go to Settings
- Copy the details showing up in the Authorized Redirect URI field
- Go to the Gmail page again and open Gmail API Create client ID page
- Paste the copied info in the relevant field
- Click Create
- Go again to the WordPress Settings page and copy the Client ID and Client Secret info
- Paste the same info in the Gmail page the same way you just did a few seconds ago
- Configure the remaining settings and click Save Changes
- Click Grant Permission to finalize the process
Doing this will fix WordPress not sending email issue. You can now send an email through your WordPress and receive the same in your Gmail account.