Do you want to configure your WordPress email settings the right way?
In the majority of cases, the default WordPress email settings lead to countless sending errors and deliverability problems.
In this post, we’ll show you how to correctly configure your WordPress email settings to ensure swift and reliable delivery at all times.
In This Article
Why Default WordPress Email Settings Don’t Work
By default, WordPress uses the PHP Mail to send emails like form notifications, user activation, lost password, and others.
Unfortunately, WordPress is notorious for email delivery issues. Commonly, these issues arise because your WordPress hosting server is not properly configured to use the PHP Mail function.
Besides, PHP Mail doesn’t add any authenticating elements to your email messages. This means that your emails are very likely to be treated as spam and never reach your recipient’s inbox.
How SMTP Settings Help Fix WordPress Emails
SMTP stands for Simple Mail Transfer Protocol. It’s one of the most reliable ways to send emails on the internet.
With SMTP, you get high deliverability rates, avoid the spam folder, and your emails reach recipients almost instantly.
So, to fix email issues on your WordPress site, you need to replace PHP Mail with SMTP. The easiest way to do that is by using a plugin called WP Mail SMTP.
It’s used by so many websites for a reason — it lets even non-technical people set up their WordPress email settings to use SMTP instead of the default PHP mail() function.
And in this tutorial, we’ll show you how to set up your WordPress email settings with SendLayer. However, you can use any mailer of your choice.
If you want to fix WooCommerce not sending emails, we recommend that you choose a provider specializing in transactional emails.
How to Configure Your WordPress Email Settings
Configuring WordPress email settings is really easy if you already have your domain connected with a mailer. If not, follow the step-by-step tutorial below to complete your WordPress email configuration using WP Mail SMTP.
1. Set Up Your SendLayer Account
First, you’ll need to create an account with SendLayer, which is our top recommended mailer service. Here’s our detailed SendLayer review if you want to know why we recommend it highly.
To start creating your account, visit the SendLayer pricing page and select a plan that suits your needs.
If your email sending volume is small or you want to try out SendLayer first, you can get the free trial instead. The free trial lets you start sending emails for free!
Now provide your name, email, and credit card information as requested. When the account signup is complete, click on Continue To Dashboard.
Great! You’ve just set up your SendLayer mailer account. Next, we’re going to add your domain to your SendLayer account.
2. Add Your Domain for Authorization
Domain authorization is important to ensure reliable email sending from WordPress. Getting your domain authorized allows email servers to recognize you as a verified sender. Meaning your WordPress emails won’t end up in spam.
To authorize your domain with SendLayer, go to your SendLayer account dashboard and click on Add Domain.
Enter the domain name of the email address that you want to set up as your sender. Then click on Add Domain.
SendLayer will now automatically generate 5 types of DNS records for your domain.
Copy these records and paste them into your website’s DNS settings one by one. You’ll usually find these DNS settings in the WordPress hosting account for your site.
Once you’ve added the required DNS records, checkmark the box next to the text I have added these DNS records and am ready to proceed.
Then press the Verify DNS Records button.
Keep in mind that it may take up to 48 hours for the DNS changes to take effect.
To check your domain authorization status, return to your SendLayer dashboard and click on Settings from the vertical navigation on the left.
Now, click on the DNS Record & Settings tab from the horizontal navigation bar on the top of the page.
If the DNS settings have been successfully verified, you’ll see a green symbol under the Status column for each type of DNS record.
If you need help changing DNS settings of your site, check out this guide on adding DNS records for your site.
3. Set Up WP Mail SMTP
Now that your SendLayer account is ready to be used, we can head over to set up WP Mail SMTP in WordPress. If you haven’t already, be sure to install and activate the WP Mail SMTP plugin on your site.
Once WP Mail SMTP is installed and activated, click on WP Mail SMTP » Setting from your WordPress admin area.
On this settings page, here are all the different options you’ll need to configure:
The From Email is the email address that all of your website’s emails are going to be sent from. This email address should use the same domain that you just authorized with SendLayer. If you have a business email address, it will look like
Scroll down the settings page to the mail section. Then, enter your email address within the From Email field. If you’d like the From Email to be the same across your entire site, you can check the box labeled Force From Email.
This will save you the trouble of editing the email settings throughout your site (in all form emails, etc). We strongly recommend you check this box.
The From Name is set to the site name by default. But you can change this to any text you’d like.
You can also check the box next to Force From Name to apply this setting to all of your emails across your site.
This sets up your basic sender details.
WP Mail SMTP Mailer
Next, in the Mailer section, select SendLayer.
Then you’ll want to fill in the API Key.
To locate the API Key for your SendLayer account, click on the Get API Key link.
The link will take you to your account’s Domain Settings page. You’ll fnd your API Key here.
Click on the copy icon next to Show API Key to copy it into your clipboard.
Return to your WP Mail SMTP Settings page and paste your SendLayer API Key in the relevant field.
Click the Save Settings button to save changes.
You’re almost there! We just need to test now that everything is functioning nice and smooth.
4. Send a Test Email
Now that your SendLayer and WP Mail SMTP settings are ready, let’s send a test email. To do this, click on the Email Test tab in your site’s WP Mail SMTP settings.
On this tab, you can enter any email accounts that you have access to in the Send To field. Then, click the Send Email button.
Once the email has processed, you’ll most likely see a success message.
Next, check the inbox for that email address. You should receive the email for this test very soon.
And that’s it! You can now correctly configure your WordPress email settings and never worry about delivery errors again.
Next, Fix Email Notification Issues
WP Mail SMTP is a super effective solution for fixing form notification issues. You can use WP Mail SMTP to fix problems with Formidable Forms email notifications, or Ninja Forms not sending email.
Next, make sure to read our post on why you should always avoid WP Mail SMTP Pro nulled plugins.
So what are you waiting for? Take advantage of the 100% Money-Back Guarantee and get started with the world’s most popular SMTP and PHP mailer plugin today.