how to configure your wordpress smtp settings

How to Configure Your WordPress SMTP Settings to Send Email

Do you want to configure your WordPress SMTP settings for outgoing emails, but you’re not sure where to start?

It’s definitely worth setting up an email provider to add authentication and stop your WordPress emails from going to the spam folder.

In this guide, we’ll show you how to set up WordPress SMTP by yourself. If you’re not confident in doing that, we’ll also explain how to get our team to handle WordPress email settings for you!

Fix Your WordPress Emails Now

Where Is the SMTP Setting in WordPress?

By default, WordPress doesn’t have native SMTP settings. In order to configure SMTP on your WordPress for emails, you’ll want to install the WP Mail SMTP plugin.

WP Mail SMTP takes over the default method of sending email in WordPress which uses the unreliable PHP mail system.

In effect, WP Mail SMTP reconfigures your site’s mail function so that it uses SMTP rather than PHP mail.

This is much more reliable because SMTP includes the necessary authentication details to your messages to ensure successful email delivery.

When you install WP Mail SMTP, it’s important to complete our Setup Wizard. If you don’t, WP Mail SMTP won’t have any effect.

We’ll show you exactly how to complete the Setup Wizard below, in the section called Method 2.

How to Configure Your WordPress SMTP Settings for Emails

Let’s take a look at 2 ways to set up your WordPress email settings using WP Mail SMTP.

  1. Get Full White Glove Setup For WordPress SMTP
  2. Add WordPress SMTP Settings Yourself

We’ll start with the easiest option!

Method 1: Get Full White Glove Setup for WordPress SMTP

Setting up WordPress SMTP can be pretty overwhelming if you’re a beginner. If you’re not confident setting up email in WordPress, you can just leave the task to experts.

That’s why WP Mail SMTP provides a full White Glove Setup service. It makes the WordPress mail server setup effortless.

Note: Our White Glove Setup service is only available to WP Mail SMTP Elite users. 

white glove service

Our White Glove Setup service includes complete configuration and testing for your new email provider using your verified email account.

That means we’ll:

  • Add your preferred From Name and From Address
  • Set up all of the required DNS records with your hosting providers
  • Test mailer so you know your WordPress emails are delivering properly.

If you want to use WP Mail SMTP without the hassle and have your email delivery issues fixed once and for all, this is likely the best option for you.

To get setup assistance, see how to request White Glove Setup.

How to Get White Glove Setup for WordPress SMTP

If you want to go ahead with White Glove Setup, you’ll want to purchase the WP Mail SMTP Elite license.

You can purchase a new license now, or upgrade your Pro license in your WP Mail SMTP account.

Click on Elite upgrade button

Next, you’ll want to choose your mailer.

Our White Glove Setup service is available with SendLayer, SMTP.com, or Mailgun. All 3 of these email providers have a proven track record of excellent email deliverability.

All set? Start the White Glove Setup process right now in your WP Mail SMTP account. Head to the Downloads tab, then click Apply for White Glove Setup to let us know you’re ready to begin.

Apply for white glove set up

If you’d prefer to configure WordPress SMTP settings yourself, let’s walk through the process next.

Method 2: Add WordPress SMTP and Email Settings Yourself

The second option is to configure WordPress SMTP settings yourself. This is slightly time-consuming for beginners, but we’ve already created custom setup docs for every email provider to help you with the setup process.

This method works with any version of WP Mail SMTP.

Install the WP Mail SMTP Plugin

First, install WP Mail SMTP if you haven’t done that already.

If you’re upgrading from Lite to Pro, you can paste your license key into the field on the plugin settings page to automatically upgrade.

Upgrade WP Mail SMTP Lite to Pro

If you’re new to WP Mail SMTP, log in to your WP Mail SMTP account and switch to the Downloads tab.

You can download the latest version of the plugin file by clicking the orange button.

Download the WP Mail SMTP plugin

Now, log in to the WordPress dashboard and upload the plugin to install it. If you need help with this, check out this guide on how to install a WordPress plugin.

Install WP Mail SMTP

Once the plugin is installed, be sure to Activate it. This will launch the Setup Wizard in your browser.

Connect to a Mailer Service

In this step, we’ll connect your website to a mailer service of your choice.

Click the Let’s Get Started button to begin the Setup Wizard.

click the Let's Get Started button

Now it’s time to start the WordPress mail server setup process.

If you aren’t sure which email provider to use, we have some tips that might help:

  • For general usage, we recommend SendLayer, SMTP.com, or Sendinblue. These are professional transactional email providers with either a free trial or a completely free plan.
  • Other SMTP is a good option if you want basic email sending through an external SMTP server. It also provides strong encryption with TLS and SSL standards. But keep in mind that some hosts, including GoDaddy and A2 Hosting, may block external SMTP connections.
  • Our Gmail mailer is perfect if you have a Gmail or Google Workspace account. Setting up this mailer takes a little longer than some of the other options, but it allows you to send email from any Gmail alias in WordPress.

Once you have chosen a mailer, go ahead and select it in the wizard.

WP Mail SMTP Setup Wizard Choose Mailer

Now it’s time to create your account with your preferred mailer and connect it with your WordPress site. We’ve created detailed documentation for each email provider to make this really easy.

Click on your provider in the table below to open the documentation page in a new tab and follow the steps to configure WordPress email settings.

Mailers available in all versions Mailers in WP Mail SMTP Pro
SendLayer Amazon SES
SMTP.com Microsoft 365 / Outlook.com
Sendinblue Zoho Mail
Google Workspace / Gmail
Mailgun
Postmark
SendGrid
SparkPost
Other SMTP

You’ll find complete instructions in the docs above, such as which SMTP port to use (if you choose Other SMTP), connect your email service with WP Mail SMTP using an API key, and how to configure WordPress SMTP settings overall.

When you’ve set everything up and verified that everything is working OK with your test email address, switch back to this guide to follow the remaining steps in the wizard.

3. Enable Email Logging

After you’ve successfully added your WordPress email settings, WP Mail SMTP will ask you which features you’d like to enable.

There are 2 features enabled by default:

  • Email deliverability
  • Error tracking

If you have the Pro version, you’ll also be able to turn on the Detailed Email Logs and Weekly Email Summary notifications.

Enable WordPress email logs and weekly summary

Detailed Email Logs will track the headers, subject line, and other information about the email.

It’s a good idea to enable extra features like email logging when setting up email in WordPress using WP Mail SMTP. With Email Log enabled, you get:

email status in WP Mail SMTP Zoho

These email logging features are really useful for a variety of scenarios. For instance, if you’re running an online store with WooCommerce, you can audit order emails easily with the complete email logs at your disposal.

Check out how to log WordPress emails to see how it works.

For the final step, copy the license key from the WP Mail SMTP account and paste it into the box to enable Pro features and future updates.

Enter WP Mail SMTP license key

That’s it! You’ve done everything to configure SMTP settings on your WordPress website for outgoing emails.

Finally, we’ll show you one of our most useful Pro features: how to resend emails from WordPress. If any of your WordPress email notifications fail, this feature makes it easy to retry them.

However, the steps below are optional and not necessary to configure WordPress email.

4. Resend Emails Using WP Mail SMTP

If a WordPress email fails, or you want to forward it, WP Mail SMTP makes it easy to resend any email with just a few clicks.

This feature is available in the Pro license or above.

To set up email resend, we need to make sure that you’re logging the entire contents of your emails first.

Let’s check that in WP Mail SMTP » Settings.

WordPress SMTP settings

Next, click the Email Log tab to open your email log settings.

Email log settings tab

On this page, make sure you have the following settings enabled in the plugin’s Email Log settings page:

  • Enable Log: This should already be enabled on your site, but check it now if it isn’t.
  • Log Email Content: This setting logs the entire body of the emails WordPress sends.
  • Save Attachments: This will also save a copy of any sent email attachments.

Email log attachments WordPress SMTP settings

Now you’ll want to send an email from your site so you have some data in your email log. For example, you could submit a message from your site’s contact form, or register a new user.

Once that’s done, we can test the email resend feature.

First, open WP Mail SMTP » Email Log to view your log entries.

WordPress email log menu item in WP Mail SMTP

Now click on View Log for any email that you want to resend.

new user registration email log

In the email log screen, click the Resend button under Actions on the right sidebar.

resend button in WP Mail SMTP

A popup will appear to confirm the email recipient. You can change the recipient or add multiple email addresses separated by commas.

Resend WordPress emails in WP Mail SMTP

Click YES and WP Mail SMTP will resend that email to all addresses you type in.

If you want, you can also resend emails in bulk. To do that, you can select the emails and use the dropdown on the main email log screen to send them again.

This feature is ideal for resending failed emails quickly. It’ll automatically resend them to the email address they were originally sent to.

Resend WordPress emails in bulk

If all of your emails are failing to send, you might have made a mistake during the configuration.

You can troubleshoot the problem by using a test email to make sure there are no errors in the settings you’ve entered.

That’s it! You now know how to configure your WordPress SMTP settings to send email without issues.

Fix Your WordPress Emails Now

Next, Check Your DNS Settings

If your DNS settings are not properly set up, you may notice your WordPress emails go to spam.

The DNS settings are usually held by your hosting company or domain registrar. You can start by creating a DMARC record for your domain. This will save your domain from being used to send phishing emails.

If you want to set up Gmail SMTP authentication you can see this article on sending WordPress emails from Gmail Alias.

Ready to fix your emails? Get started today with the best WordPress SMTP plugin. WP Mail SMTP Elite includes full White Glove Setup and offers a 14-day money-back guarantee.

If this article helped you out, please follow us on Facebook and Twitter for more WordPress tips and tutorials.

Comments

  1. We have tried to get this to works – now 3 days in and still not working – also why are we being forced to buy another package from the mailers you use when we have already paid you?

    1. Hi Ian,

      I noticed that you have already contacted our support channel.

      We will check your issue once we receive more information.

      Thanks!

  2. Can we forward an email from WP to a Yahoo email account

    1. Hi There,

      There’s no way to forward emails within WordPress. Usually, your WordPress notifications will be sent to the WordPress administrator email address. You can change that email address under the WordPress -> Settings -> General area or you need to set up email forwarding within your email account.

      Thanks!

  3. can i import email list on WP Mail SMTP or not i just need to know is it possible or no before i bought

    1. Hi Sara,

      We don’t have features like creating email campaigns, sending bulk emails to your lists, composing HTML newsletters, importing lists, or any other related email marketing capabilities within the WP Mail SMTP Pro plugin.

      When you configure WP Mail SMTP plugin on your site, below are some examples of website email notifications that can be routed through your WP Mail SMTP configured mailer.
      – WordPress user registration emails
      – WordPress reset password emails
      – Form email notifications (for example contact forms, quotation forms, payment forms created using WPForms plugin, Contact Form 7 or using similar plugins)
      – Order notification emails (if you have an eCommerce store set up on your site)
      – WordPress comment management emails (comment moderation / comment published)

      Technically, all of your website emails sent with the WordPress default wp_mail() function will be routed through your WP Mail SMTP configured mailer.

      Thanks!

  4. Mailer: Other SMTP SMTP Error: Could not connect to SMTP host.
    why 5 days and iam trying to fix it and it still not working

    1. Hi Laith,

      The error message indicates that your mail server refuses connection on port 25/465/587 and it is not able to connect to the remote mail server.

      You’ll need to contact your hosting provider with that error report to fix the server configuration or to see if anything is blocking (Firewall or ModSecurity rules).

      In the meantime, you may try setting up a different mailer instead of Other SMTP. You can see all the available mailers from here.

      Also in case if you require further assistance, please post your question on our support forum.

      Thanks!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.