How to Set Up the Mailer in WP Mail SMTP

Do you need to fix email delivery issues on your WordPress site? has been working to improve email deliverability for decades, establishing an extensive record as a reliable service.

In this tutorial, we’ll show you how you can use the mailer in WP Mail SMTP to make sure your emails get to inboxes successfully.

What is has been a market leader in email delivery and the preferred choice for 100,000+ businesses for 22+ years. They are known for their ease of integration, human support and a powerful API.

They offer a free trial, which allows 50,000 emails to be sent during the first 30 days. After that, you’ll need a paid plan which can include much higher sending limits based on your plan.

In order to complete the mailer setup in WP Mail SMTP, you’ll need to have:

    • A domain-specific email address (ie [email protected])
    • A credit card (this is required to complete registration)
    • Access to your site’s DNS records

If you’re ready to get your emails delivering reliably, let’s get started!

1. Setting Up Your Account

First up, you’ll need an account with This account will connect to your WordPress site so that your emails can deliver reliably.

If you already have an account, go ahead and log in. Or if you don’t have an account yet, please create one now.

Get Started with

Start a free trial for SMTP com

For our example, we’ll be registering for a brand new free trial. However, the setup will be the same no matter what type of account you have.

Note: If you’re creating a new account with, you’ll need a few additional steps after registering. These steps help to prevent spammers from signing up, which is important to keeping their service so reliable.

First, be sure to check your email and follow their activation link. This will also require agreeing to their usage policy.

Next,’s team will review and approve your account (which may take up to 24 hours). This approval will likely require you to provide additional details/clarification, so please keep an eye on your email for any updates.

Once your account is all set up, or you’ve logged into an existing account, you’ll be ready to start the setup process. Keep this window open, though, as we’ll use it in the next step.

2. Adding the SPF Record to Your Site’s DNS

An important step in the reliable delivery of emails is authentication. This helps to show email inbox providers that your emails are being sent from a legitimate source. uses an SPF record to help authenticate your emails, and so you’ll need to add this record to your site’s DNS settings.

Note: For more details on modifying your site’s DNS, we recommend WPBeginner’s tutorial on DNS settings.

If you have additional questions about DNS or feel unsure about what to do, please contact your site’s hosting provider before attempting any changes.

To get started, you’ll need to scroll to the top menu of your account (if you closed your account earlier, you can open it back up by clicking this link).

Within this top menu, click on Account » My Settings.

Open My Settings page in SMTP com account

Under the General Settings, you should see an SPF record:

v=spf1 ~all

General Settings and SPF record in SMTP com account

You’ll need to add this record to the DNS settings for your site.

In your site’s DNS settings you may also see a TTL (Time To Live) field for the record. If you’re provided with a way to change this, we recommend setting the TTL to 1 day (or 86400 seconds, depending on the units your DNS uses).

After the SPF record has successfully been added, you can check whether has been able to validate that record yet. To do this, click on the Deliverability tab in your account (or follow this link).

Towards the bottom of this page, there will be a section titled SPF Record Domain Check. In the Domain field, enter your site’s URL. Then, click the Validate button.

Check SPF records for domain

The result will appear in a red box near the top of the page. If was able to verify your SPF record successfully, then it will display a “Pass” status in this box.

SMTP com has successfully validated the SPF record

DNS changes can in some cases take up to 48 hours to be recognized, so you may need to check back on this later. No matter what your domain’s SPF status is right now, though, you can move on to the next step.

3. Setting Up WP Mail SMTP

Now that your account is ready to be used, we can switch over to setting up WP Mail SMTP. When you’re ready, go ahead and log into your WordPress site.

If you haven’t already, be sure to also install and activate the WP Mail SMTP plugin.

Once WP Mail SMTP is installed, you’ll need to click on WP Mail SMTP » Settings in the left WordPress menu. We’ll discuss each of this page’s settings in detail below.

From Email

The From Email is the email address that all of your site’s emails will appear to be sent from. In order for services to be able to work properly, this email address must be for your domain (ie [email protected]).

We strongly recommend also checking the box labeled Force From Email. This option will save you the trouble of editing the From Email settings throughout your site (in all settings where email could be sent from), and help to ensure your mailer can apply to your site’s emails.

Adjust From Email in WP Mail SMTP settings

From Name

The From Name will, by default, be set to the site name. However, you can change this to any text you’d like.

You can also choose to Force From Name to apply this setting to emails site-wide.

Adjust From Name in WP Mail SMTP settings

Return Path does not support the Return Path option, so you can skip this setting.


In the Mailer field, you’ll need to select the option.

Select the SMTP com mailer in WP Mail SMTP

Next up, you’ll need to fill in the API Key and Sender Name from your account.

We’ll show you exactly what to do in the sections below.


To quickly locate the API Key for your account, click on the Get API Key link (or follow this link).

Follow the API Key link within WP Mail SMTP

After opening that link, you should see the API page in your account. On this page, carefully copy the full value in the Key column.

Copy the API Key in SMTP com account

Now that you’ve copied this Key value, return to your WP Mail SMTP settings and paste that into the API Key field.

Sender Name

Now that your API Key has been added, we’ll move down to the next field in WP Mail SMTP’s settings: Sender Name. To find the value needed for this field, you’ll need to click on the Get Sender Name link.

Follow the Get Sender Name link in WP Mail SMTP

This link should open the Senders page of your account. Here, you’ll need to copy the value under the Name column.

Copy the Sender Name from SMTP com account

After copying the Name value, switch back over to your WP Mail SMTP settings and paste it into the Sender Name field.

Now that all of the WP Mail SMTP settings have been completed, be sure to click the Save Settings button.

Save settings in WP Mail SMTP

4. Sending a Test Email

Note: Before moving forward with this step, please check your Deliverability Settings to confirm that your site’s SPF Status is set to Pass.

Now that your settings are all ready to go, you’re ready to send a test email. To do this, click on the Email Test tab in your site’s WP Mail SMTP settings.

Open the Email Test tab in WP Mail SMTP

On this tab, you can enter any email address that you have access to. Then, click the Send Email button.

Once the email has processed, you should see a success message.

Notice showing the WP Mail SMTP test email sent successfully

Next, check the inbox for that email address. You should soon receive the email for this test.

Successful test email from WP Mail SMTP

Last, you’ll need to confirm that this test email was properly sent through your account. To do that, please click this link to open your Deliverability Settings page.

If the email was successfully sent through your account, you should see a Pass status for your domain.

Check the SPF Status of your domain in SMTP com

Note: If you do not see a Pass status, then please review Steps 1-3 to confirm that all details have been completed.

That’s it! You’ve just completed the setup for with WP Mail SMTP, and your site’s emails should start being delivered reliably.

Next, would you like to keep a log of all emails that your site sends out? You can check out all the details about setting up and using WP Mail SMTP’s Email Log feature over in our email logging guide.