How To Fix WordPress Not Sending Emails?

WordPress Email Not Working: WordPress is a necessity today as millions of businesses big or small are relying on WordPress features to run their website smoothly.  Its true value is noticed when one of its features stops working like WordPress not sending emails. Users complain and search for why are my email not sending as expected nor do they receive any email notifications.

When users find WordPress email not working they panic because they lose touch with their audience; yes, a nightmare for any business.

Here, in this blog, we will let you know why users find WordPress emails not sending and how they can fix it in no time.

Why WordPress Email Is Not Working?

There are numerous possible reasons behind WordPress not sending email issues. However, the most common reason is the disabled PHP Mail function.

Whenever WordPress tries to send an email, it first sends a request to the email servers through the PHP mail function. If the mail function is disabled due to some reason, the request will not be received by the mail server. Hence, no email will be sent.

Possible reasons behind disabling of PHP Mail function are-

  1. Act of exploitation by hackers or spammers
  2. Blocking by web hosts, etc.

Another possibility is that the PHO mail function is enabled, but the email sent at the server is marked as spam. As a consequence, the email will be received by the receiver but not in the inbox. It might go to the spam folder or trash and the receiver might miss the email.

Both the situations are equally disturbing and fail the overall purpose of sending an email.

So, how can we fix the emails not sending issue?

Well! Here comes the solution.

How To Solve WordPress not sending emails?

Installing an SMTP Server Plugin is a surefire way to fix WordPress email not working issues as it reduces the dependency on the PHP mail function.

Once you have installed the SMTP server plugin, the emails will go directly to the SMTP server instead of routing from the WebHost server.

Using the PHP mailer library instead of the PHP mail function, the issue of emails not sending can be fixed once and for all. This also assures successful delivery of emails without spamming them. Let’s check it out.

Step 1: Setting Up Gmail SMTP Plugin- Installation & Configuration

Before we start the installation process, make sure you have a Gmail account to use the Gmail SMTP server.

Steps to install Gmail SMTP server

  1. First, go to your WordPress dashboard and visit the ‘Add new’ option in the plugins section.
  2. Go to the search box, find the ‘Gmail SMTP’ plugin and click on ‘Install Now.
  3. Click on ‘Activate’ once the installation is completed.
  4. Now, you will be redirected to the Plugins page.
  5. Go to the Gmail SMTP plugin and click on ‘Settings’

Step 2: Authorization To Send Emails Via Gmail Account

To fix WordPress email not working, we need to provide permission to send emails via Gmail SMTP server using Gmail account. Here’s how it is done.

  1. First, go to the ‘Google App creation’ and log in to your Gmail account.
  2. Now, move to ‘Register your application’, click on ‘Yes’.
  3. Select the ‘Agree and Continue button.
  4. Click on the ‘Go to credentials’ option.
  5. On the next page, you have to add credentials. Set the API to Gmail API and web browser (Javascript).
  6. Next, click on “User data” to declare the kind of data you want to access.
  7. Now, you need to enter the name of your authorization client.
  8. Enter the URL of your blog in the “Authorized Javascript origins” input box to give it the required permissions.
  9. Now. Go to the Gmail SMTP plugin page and copy your complete “Authorized Redirect URI”.
  10. Now to create a client ID, add the copied URL to your Gmail credential page.
  11. Next, add the email address and the product name i.e., “Gmail SMTP Sender” followed by clicking on the Continue button.
  12. Next, click on Done.
  13. Once you click on the Done button, and you will be redirected to the credentials page.

Step:3 How To Test Gmail SMTP Plugin to Fix WordPress Email Not Working?

Now that you have properly implemented the plugin, it is time to check if the WordPress emails not sending issue is fixed or not using a Test mail.

  1. To send a test email, go to the “Test Email” tab.
  2. Now, add “To”, “Subject”, and “Message” fields and click on the Send Email button.
  3. This will send a test email which you must receive in your inbox. If you have received the email properly, your WordPress email not sending issue is resolved.

Conclusion:

The solution given above is the best way to fix WordPress can’t send emails issue. If this doesn’t solve your problem, you must connect with WordPress support for immediate assistance. They will help you to find the root cause of the problem and fix it in no time.