Featured-2 SMTP Webmaster

How to Fix the WordPress Not Sending Emails Issue

A quite common challenge we see amongst web site owners is that sometimes wordpress is not sending emails, and in few cases website owners are not able to send emails at all, and that’s because most of the wordpress hosting providers don’t offer e-mail hosting, or they limit email sendings, or worse, they have blocked smtp (which is used to send emails).

But thankfully, there is a way around. Please follow the steps below to get your e-mail working in your WordPress web site. This solution is applicable for almost all WordPress email sending problems, in addition to problems you may face while trying to send emails from WooCommerce.

How to Troubleshoot WordPress Not Sending Emails Problem

Typical scenarios of WordPress not sending emails may include a submission to a contact form submitted by a client that you never receive, or a third-party plugin notification. This might additionally apply to WooCommerce not sending emails from sales or customer inquiries. Usually these problems are attributable to incorrect settings in plugins or incompatibility with HHVM, PHP 7, and so on. Below are some solutions to get it working for you.

Tired of sluggish WordPress hosting & substandard support? We have a titally different solution for your problem.

CHECK OUT OUR HOSTING PLANS

 

Test E mail On Your Server

The very first thing you should do is run a test in your WordPress web site with the free Check Email plugin. It’s a very simply plugin designed to easily test if your WordPress set up and/or server can send emails. As of writing this article, the plugin has over 40,000 active installs with a 4.9 out of 5-star score. As soon as installed, just click into “Check E mail” under the tools menu in your WordPress dashboard. Enter in an e-mail address to send a test email, and click on “Send test e-mail.”

wordpress send email test

Check e-mail in your WordPress web site

You’ll then see a confirmation.

wordpress send email confirmation

Check e-mail confirmation

Check your e-mail to see if you received the test e-mail. The subject line will appear as “Test e-mail from https://yourdomain.com.” Additionally, make sure to check your spam or junk folder. When you received an e-mail that means that WordPress can send emails just fine in your server. This implies it’s most certainly a misconfiguration with your contact form plugin or an incompatibility. You may always reach out to the plugin developer for assistance. Tell them that you simply ran the above test and that e-mail is working in your WordPress installation.

If you’re a cPanel, then you can simply change over to PHP 7 to check if there’s a compatibility problem. You can simply switch to PHP 7 inside your “Select PHP Version” under cPanel. After testing, you can change back to previous version of PHP if you want.

In case you are using something other than cPanel, please please refer to control panel documentation or contact support to see if the port is working. Sometimes hosting providers also blocks the port.

A lot of hosting providers are simply resellers of other major server providers (so they buy a server from google cloud/AWS and then resell it to you) in which case they make use of third party resources, which in some cases blocks outbound connections on port 25. According to Google, “This outbound SMTP port is blocked because of the large amount of abuse this port is susceptible to.” In this case, attempt an alternate port such as 2525, 587 or 465.

The right way to Setup SMTP in WordPress

If the above suggestions are not correct for you then arranging WordPress with third party SMTP provider is the ideal solution. Listed here are three options from which you can choose the best way to configure them:

  • Choice 1: Gmail (free up to 3,000 emails per 30 days, increased restrictions when you pay for Suite) 
  • Choice 2: Mailgun (free up to 10,000 emails per 30 days) 
  • Choice 3: SendGrid

Mentioned below are just few more SMTP transactional email firms that you might also want to consider: 

  • SparkPost (free as much as 100,000 emails per thirty days) 
  • Mailjet (free as much as 6,000 emails per thirty days) 
  • Amazon SES 
  • SendWP ($9/month per website, very easy to set up)

Choice 1: Configure Gmail SMTP in WordPress

You can take advantage of Gmail SMTP to send WordPress messages. A benefit to do so is you can sometimes improve your email delivery and avoid hitting the spam or junk folder. Nevertheless, you will have to remember that you can only send as many as 100 emails every 24 hours in the free version. Or you could also look at it as 3,000 messages per 30 days without spending a dime. Nevertheless, by paying for G Suite you may be able to increase these limitations.

If you want a completely free SMTP provider with a monthly restriction, we recommend you try Mailgun. Watch the measures under which Gmail SMTP can be configured in WordPress.

Step 1

The very first thing to do is to get and set up the WP Mail SMTP Pro plugin. You can also try its free version here. The plugin has more than 1 million installations with a strong 4.9 star rating and is actively preserved as of penning this article. It also operates great with WooCommerce and Digital Downloads Straightforward.

Mail SMTP WordPress plugin

Gmail is being used as a SMTP server to send messages to the WordPress setup in this example. We could use the OAuth 2.Zero protocol to authorize Gmail API entry–which implies a safer login system and customers won’t have to enter usernames or passwords.

This plugin really helps as beautifully, reminiscent of Mandrill, SendGrid, a lot of distinct setups and vendors

Step 2

Enter your “Client ID” and “Client Secret” (Follow the “Gmail Documentation” link to get those details or continue reading below)

Step 3

Then you will need to open new tab with Google and generate new project. Go tconsole.developers.google.com and log in using the Gmail you can use. Then you will need to build new brand.

Google Developer Console - Create new project

Google Developer Console – Create new project

Read More about WP Mail SMTP Pro

Step 4

Give name (you can choose something) to your project and click on “Create.”

Name Google Project

Identify Google Mission

Step 5

Click “Allow APIS and Companies” in the dashboard of your fresh project.

Google Project enable APIs

Google Project allow APIs

Step 6

Then press under the Suite APIs on “Gmail API.”

Gmail API

Gmail API

Step 7

Then click on on “Allow.”

Enable Gmail API

Allow Gmail API

Step 8

Then press on the left side of “Credentials.” Select “OAuth shopper ID” below this credentials.

OAuth client ID

OAuth shopper ID

Step 9

On the following display, you have to to click on on “Configure consent display.”

Configure consent screen

Configure consent display

Step 10

Then enter your email address, choose a product (which could be something), and not less than a URL for coverage of privacy. We recommend that all things be filled out. Note: A coverage of privacy is necessary to make all things totally beneficial.

Oauth credentials

Oauth credentials

Step 11

On the following screen, you can pick net software for the application type immediately. Enter a reputation (which is possible regardless of what you need). Then paste from the display of the Postman wizard the “Approved JavaScript origins” URL and the “Approved redirect URIs.” Then press the “Save” button.

Client ID application type

Shopper ID software kind

Step 12

You will receive your Client ID and Client Secret on the following screen.

OAuth client id and secret

OAuth client id and secret

Step 13

Copy and paste these into the Client ID and Client Secret fields. Then click on “Save Settings”.

Submit SMTP authentication

Step 14

Then again within the Google Developer Console, it is strongly recommended that you simply add your domain so it’s verified. Notice: You must also have this setup in Google Search Console.

Verify domain in Google Developer Console

Confirm domain in Google Developer Console

Sending a Test E mail

You may then send a test e-mail to confirm all the things is working correctly.

Click “Send Email”

Note: you can also follow the same process to add mailgun or sendgrid or any other SMTP server, but if you are new then we would suggest you to get started with Gmail as it is the easiest of them all to setup, and later you can get the API or SMTP credentials from any other provider and you can add it the same way you added Gmail.

Please don’t forget to let us know if you have any questions

Review King
At reviewking.xyz, we aim to help people of all walks of life to find useful review for the products they are going to buy and save some money by using the periodic discounts offered on our site.

Leave a Reply

Your email address will not be published. Required fields are marked *

11 + sixteen =

Send this to a friend