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 users’ inboxes successfully.

What Is has been a market leader in email delivery and the preferred choice for more than 100,000 businesses for over 22 years. It’s known for its ease of integration, quality support, and powerful API.

It offers a free trial, which allows you to send up to 50,000 emails for 30 days. After that, you’ll need a paid plan, which may include much higher sending limits based on which option you choose.

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

    • A domain-specific email address (i.e., [email protected])
    • A credit card (required to complete account registration)
    • Access to your site’s DNS records

Once you have these details on hand, you can jump into the tutorial below.

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. Otherwise, create a new account now.

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

First, be sure to check your email inbox and follow the activation link sent to you. This will also require you to agree to’s usage policy.

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

Once your account is up and running, you’ll be ready to start the mailer setup process. Keep the browser tab or window with your account page open, though, as you’ll use it in the next step.

Adding the SPF Record to Your Site’s DNS Settings

An important step in the reliable delivery of emails is authentication. This helps to show email 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 settings, see our tutorial on adding DNS records for WP Mail SMTP setup.

You can also check out’s knowledge base for details on the DNS records it provides.

To get started, you’ll need to scroll to the top menu of your account. Here, click on Account » My Settings.

Open My Settings page in SMTP com account

In the General tab, 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 you’ve successfully added the SPF record, you can check whether has been able to validate it yet. To do so, click on the Deliverability tab in your account settings.

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 alert.

SMTP com has successfully validated the SPF record

In some cases, DNS changes can 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.

Setting Up WP Mail SMTP

Now that your account is ready, you can switch over to setting up WP Mail SMTP. When you’re ready, go ahead and log in to your WordPress admin dashboard.

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

Once WP Mail SMTP is installed, click on WP Mail SMTP » Settings in the menu on the left side of your admin area. 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 at your domain (i.e., [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 process your site’s emails.

Changing the From Email in the WP Mail SMTP settings

From Name

The From Name will, by default, be set to your site’s 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.

Changing the From Name in WP Mail SMTP


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

Selecting the mailer in the WP Mail SMTP settings


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

To quickly locate the API Key for your account, click on the Get API Key link in the section of the settings.

Follow the API Key link within WP Mail SMTP

This link should take you to the API page in your account. Here, carefully copy the full value in the Key column.

Copy the API Key in SMTP com account

Then return to your WP Mail SMTP settings and paste the value you copied into the API Key field.

Sender Name

Once you’ve added your API Key, move down to the Sender Name field. To quickly find the value needed for this field, 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.

Once you’ve finished filling out all your WP Mail SMTP settings, be sure to click the Save Settings button.

Save settings in WP Mail SMTP

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.

Once your settings are all ready to go, you can send a test email to make sure your connection is working as expected. To do so, go to WP Mail SMTP » Tools and click on the Email Test tab.

Opening the Email Test tool in WP Mail SMTP

Here, you can enter any email address whose inbox you have access to. We recommend leaving the HTML setting ON unless you know you’ll only be sending plain text emails. Then click the Send Email button.

Send a test email from WordPress

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

Email test success message in WP Mail SMTP

Next, check the inbox for the email address you entered. 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 so, check your Deliverability Settings page.

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

Checking the status of an email test in

Note: If you do not see a Pass status, then please review the earlier steps in this tutorial to confirm that you filled out all of your and WP Mail SMTP settings correctly.

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 the emails your site sends out? Be sure to check out the details in our email logging guide.