Type to search

How To Fix WordPress Not Sending Email: Stepwise Guidance

A majority of users are having problems while sending emails from WordPress. It a very common issue that can occur if the WordPress hosting server is not properly configured to use PHP mail service.

However, the error is not directly related to the server. Rather, the email setup is not configured properly during the installation of WordPress. So, WordPress can stop sending emails due to various reasons.

In this article, we will provide you a vivid knowledge about how to fix this issue by using SMTP(Simple Mail Transfer Protocol). Hence, follow every step carefully and implement them when WordPress not sending email.

Learn How to Fix WordPress Contact Form not sending Email with SMTP

As discussed in the previous section, the issue of WordPress can take place if the SMTP server of the site is not configured well. Now, we are going to discuss all the steps, which can easily set up the SMTP server to troubleshoot the error. 

So, you can do this by following two methods: one is by using your email account’s SMTP server and the second one is to set up WordPress with a third-party SMTP provider.

Method #1: Use Your Email Account’s SMTP Servers

You can set up the SMTP server for your account by running a test on your WordPress site with an email plugin. Hence, it is recommended to download the “WP Mail SMTP” plugin from the WordPress repository. So, install the plugins and activate the same. Now, follow these steps after activating the plugin.

  • Go to the Settings of WordPress and then click on the “Email” in the expanded section.
  • Type your email address and name in the provided section.
  • Make sure that you have selected “Send all WordPress emails via SMTP” option.
  • Complete the email server settings by using a third-party web hosting server in the “SMTP Options”.
  • Follow the accurate instructions until you complete the process and ensure it is working.
  • For that, type a mail address in the field next to “To”, which is placed under the “Send a Test Email” option.
  • Press the “Send Test” button and check whether you are receiving an email.

If WordPress contact form not sending email, you can switch over to the next method.

Method #2: Use Google SMTP Email Server

You can also use the Gmail SMTP server to send emails in WordPress. Moreover, it increases the deliverability of the emails and also prevents them from dropping in junk or spam folders. Now, follow the below-mentioned steps to set up the Gmail SMTP in WordPress.

Step 1

Firstly set up a Gmail account and then download the “Gmail SMTP” plugin from the WordPress Plugin repository. Install the same after completion of the downloading process. Now, go to the Settings and select Gmail SMTP to configure the plugin.

Step 2

After that, you need to authorize your WordPress account. For this, you must secure some credentials. Hence, to do that, open a new browser window and type “console.developers.google.com” in the web address section. Now, log in to the Google page by using the previously created Gmail account.

Step 3

Click on the “My Project”, which is located at the top left side of the window. Tap on the “+” sign to create a new project. Give any name to the project and hit the “Create” button to proceed further.

Step 4

A new window will open and you need to go to the “Dashboard” section. You will see the “Enable APIs and Services” link at the top of the screen. So, click on that option and find “G Suite API”. Also, click on “Gmail API” located under the option.

Step 5

Click on the “Enable” link at the top of the screen. Select the “Credential” option from the left panel of the window. Then, hit the “Create credentials” tab and choose “OAuth client ID”.

Step 6

When the next screen appears, click on the “Configure consent screen”. Type your email address, a product name, and “Privacy policy URL”. make sure to click on the Save button.

Step 7

After that, select “Web application” under “Application type” and enter any name in the provided field. Then click on “Save”.

Step 8

In the next screen, you will get the “Client ID” and “Client Secret”. So, paste those in the Plugin’s Settings page. Make sure to click “Next” and then “Finish”.

Step 9

The next step is to get back to the Google Developer Console to verify your domain. To do this, you need to go to the “Post SMTP” tab and tap on “Grant permission with Google”.

Step 10

To avoid any further error, you need to complete one more step. For this, go to the “Advanced” tab and fill out all the fields such as “Oauth Email Address”, “From Email Address”, “From Name”, “Type of Encryption”, “SMTP Port”, etc. to get approval for long term. Press the “Save Changes” tab to proceed further and click the “Grant Permission” button.

Step 11

Now, it’s time to enter all your Gmail credentials to authorize the connection and verify that everything is working correctly. If everything is done in proper order, you will receive or send emails from WordPress without any interruption.

We hope, you have obtained the solutions in this article, which you can apply when WordPress not sending email. If you still have any doubts, you can comment in our feedback section. 

Feel free to contact us for solving any type of WordPress issue. Moreover, follow our tech-related articles regularly for obtaining troubleshooting tips at your fingertips.