WordPress not sending email?
If your WordPress site stops sending emails, it can result in a direct loss to your business. You could end up losing valuable leads and potential customers. Or you could end up completely breaking the experience for your existing customers.
But what’s the problem, really? Why isn’t your WordPress site sending emails?
And more importantly, how do you fix it?
In this article, we’ll answer all these questions and give you an easy way to fix the issue.
早速飛び込みましょう。
Why is WordPress Not Sending Email Notifications?
It’s a common issue among WordPress users and chances are high that it has nothing to do with your installed themes or plugins.
Your WordPress site can’t send emails because your hosting provider isn’t properly configured to send emails. And you may not even get notified of contact form submissions.
Just imagine the number of leads and potential customers you could lose in a matter of hours. For an online store, you may end up in a scenario where people buy from you, but none of your automated emails are sent. That can lead to a lot of confusion and even a loss of trust in your customers.
Let’s take a closer look at the technical end of the problem.
WordPress handles user registration emails using built-in PHP code called the wp_mail() function:

This is a big problem because not all WordPress hosts are configured properly to use PHP mail.
And even if the servers are configured properly, Gmail and other email service providers use strict spam filters. These spam filters try to verify automatically that your email is coming from your business and not a fraudulent third party. That’s where most of your emails get blocked or flagged as spam.
How to Fix the WordPress Not Sending Email Issue
The right way to deal with the issue is to send your emails using SMTP instead of relying on WordPress’ PHP mail.
And we’re going to show you how to use an SMTP service to make sure that your email is always delivered. All you need to do is install the WP Mail SMTP plugin.

The WP Mail SMTP plugin will help you fix your email delivery issues in a few simple steps. And it’s not technical at all. It’s super simple and anyone can do it. So, go ahead and install and activate the plugin. If you’re not sure how to do that, this tutorial will show you how to install a WordPress plugin.
Step #1: Installing the WP Mail SMTP Plugin
Once you’re done installing the plugin, head over to your WordPress dashboard and click on WP Mail SMTP to configure the plugin:

After you enter your license key, enter your email and name in the Mail section:

NOTE: Make sure that you enter the same email address as the one you’ll be using for your SMTP service. If there are conflicting emails, you’ll keep getting errors from the email service provider dashboard.
WPFormsなどの他のWordPressプラグインで別のメールアドレスを使用している場合でも、心配しないでください。WP Mail SMTPは、SMTPサービスの設定に使用するメールアドレスを自動的に使用するように他のプラグインを強制します。
That’s all for now.
Step #2: Selecting an Email Service Provider
Next, you’ll need to choose an SMTP mailing service for your site. We recommend using SMTP.com. But you can find a lot of different services there.
Head over to your WordPress dashboard and go to WP Mail SMTP » Settings.
Then, under Mailer, select a service provider. You can choose between a whole host of options:

We recommend using SMTP.com:

To finish setting up the WP Mail SMTP plugin, you’ll have to create an account with SMTP.com next. It’s a super popular SMTP service that allows you to send bulk emails with high delivery rates.
Step #3: Creating an SMTP Account
新しいアカウントを作成してください:

Once you’ve signed up, you’ll be asked to click on an activation link via email and confirm your identity.
So, keep an eye out for multiple emails.
And then, go back to the WP Mail SMTP plugin to connect your SMTP account to the plugin.
ポップアップでAPIキーを求められます。これはSMTP.comダッシュボードから取得できます。APIキーを取得リンクをクリックしてください(直接アクセスするにはこのリンクをクリックしてください):

You should see a table on this page. Copy the API Key in the Key column:

Then paste this API key in WP Mail SMTP:

Finally, in the Sender Name field, click on the Get Sender Name link:

Copy the name in the Name column:

And paste it in WP Mail SMTP.
Then hit Save Settings:

Step #4: Adding the SPF Record to Your DNS
Now, you’ll have to add the SPF record to your DNS records.
If you don’t know what any of these mean, don’t worry. We’ll explain.
The Sender Policy Framework (SPF) is how SMTP.com authenticates your emails. Implementing this step ensures that your emails won’t get kicked into the Spam inbox.
SMTP.comアカウントのナビゲーションメニューに移動し、アカウント »マイ設定をクリックします:

Then, go to General Settings and look under SPF Record:

You’ll need to add this SPF record to the DNS settings for your site. If you don’t know how to do this, check out this article on how to add SPF records.
NOTE: In the DNS settings, you’ll see a field called TTL (Time To Live). The default value is usually 1 hour. If you can change this record, we recommend changing it to 1 day or 86400 seconds. This will allow the server to cache this information for a full day.
ステップ#5:SPFレコードの検証
SPFレコードを追加した場合、変更が更新されたことを検証する必要があります。変更が反映されるまで最大48時間かかる場合があります。そのため、次のステップに進む前に結果を検証することをお勧めします。
Click on this link and head to the section that says SMTP.com SPF Record Domain Check.
In the Domain field, submit your website’s URL and click on Validate:

If you followed every step, you should see this Pass message:

これで完了です!
ステップ#6:テストメールの送信
You’re done configuring WP Mail SMTP. It’s time to check if everything’s working properly.
Go to WP Mail SMTP in your WordPress dashboard and click on the Email Test tab:

アクセスできるメールアドレスを入力し、テストメールを送信します。すべてうまくいった場合、この成功メッセージが表示されるはずです。

Now, check your inbox and confirm that you received the email in your Primary inbox. We’re very confident that you’ll find it there.
Finally, all you have to do is verify that the email went through your SMTP.com account. Click on this link to go to the Deliverability Settings page. If you see the ‘Pass’ notification like this one, you did a great job:

ステータスフィールドに「合格」と表示されない場合は、どこかでミスをしています。ステップ1〜4を再確認し、何か見落としがないか確認してください。
まとめ
今回は以上です、皆さん!
If you’re not happy to see your marketing efforts go down the drain, then it’s time to install the WP Mail SMTP plugin.
Once your WordPress email deliverability issues are fixed, you can go back to increasing your traffic, engagement, and sales in peace. Speaking of which, have you tried using push notifications yet?
Push notifications are a great way to increase traffic, engagement, and sales for any business. And if you’re starting out with push notifications, we recommend using PushEngage. PushEngage is the #1 push notification software in the market.
そして最も良い点は、PushEngageが中小企業が大企業と競争できるようにすることです。したがって、ビジネスを開始、成長、または拡大したい場合でも、あらゆる成長段階に適しています。
プッシュ通知を始めたばかりの場合は、これらの記事もいくつか確認してください。
まだの方は、今すぐPushEngageを始めて次のレベルに進みましょう!