How to Set Up the Other SMTP Mailer in WP Mail SMTP

Would you like to improve email deliverability in just a few steps? By setting up Simple Mail Transfer Protocol (SMTP) on your site, you can quickly fix email delivery issues with minimal setup. In this article, we’ll show you how to use the Other SMTP mailer in WP Mail SMTP to improve email delivery for your site.

  1. Setting Up WP Mail SMTP
  2. Configuring “Other SMTP” Settings
  3. Enabling Less Secure Apps
  4. Sending a Test Email

Note: The Other SMTP mailer is less secure than other mailer options because it stores your email login and password in your WordPress dashboard. Other WordPress administrators have access to this. Whenever possible, we recommend using one of WP Mail SMTP’s more secure options.


1. Setting Up WP Mail SMTP

Before we get started, be sure to install and activate the WP Mail SMTP plugin.

Once the plugin is installed, you’ll need to click on WP Mail SMTP in the left WordPress menu. This will open the plugin settings page. We’ll cover each of these settings in detail below.

From Email

This is the email address that all of your site’s emails will be sent from.

Note: Make sure to enter the same email address you will be using to send SMTP emails (your Yahoo, Gmail, etc email address).

We recommend that you also check the box labeled Force From Email. Since the From Emails from anything on your site that sends email must match this email address in order for SMTP to work, this will save you the trouble of editing the email settings throughout your site (in all form emails, etc).

Adjust From Email in WP Mail SMTP settings

From Name

By default, the From Name will 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

We recommend checking the optional Return Path checkbox to Set the return-path to match the From Email. With this enabled, you’ll be emailed if any messages bounce as a result of issues with the recipient’s email.

Set return path to match From Email

Mailer

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

Select the Other SMTP mailer in WP Mail SMTP

2. Configuring “Other SMTP” Settings

Now that you’ve selected Other SMTP as your mailer, a new section will appear named Other SMTP. In this section, you’ll need to enter specific details to connect your site to your email provider.

Other SMTP mailer settings

Each email provider requires slightly different SMTP configurations. If you’re not sure what settings to use, we’ve compiled a list of SMTP configurations for popular email providers below.

Note: When entering your username and password for any email option, please note that this information is stored in plain text. For a more secure approach, check below the Password field for instructions on adding the password to your site’s wp-config.php file instead.

Please check out WPBeginner’s tutorial for details on how to edit wp-config.

Password field for WP Mail SMTP

Here are the SMTP settings you’ll need for the most popular email providers:

Gmail / G Suite SMTP Settings

Host: smtp.gmail.com
Port: 587 (or 465 using SSL encryption)
Username: Your Gmail account email address (e.g. john@gmail.com)
Password: Your Gmail account password
Encryption: TLS

Note: Please note that we recommend using the built in Gmail integration instead of this less secure Other SMTP mailer. If you use SMTP, though, don’t forget to enable less secure apps.

Hotmail / Live SMTP Settings

Host: smtp.live.com
Port: 587
Username: Your Hotmail account email (e.g. john@hotmail.com)
Password: Your Hotmail account password
Encryption: TLS

Yahoo Mail SMTP Settings

Host: smtp.mail.yahoo.com
Port: 465
Username: Your Yahoo Mail account email (e.g. john@yahoo.com)
Password: Your Yahoo Mail account password
Encryption: SSL

Note: Please note you will need to enable less secure apps.

AOL SMTP Settings

Host: smtp.aol.com
Port: 587
Username: Your AOL screen name (e.g. john)
Password: Your AOL account password
Encryption: TLS

Once these details are entered, be sure to click the Save Settings button.

3: Enabling Less Secure Apps

In order for SMTP to be used on your WordPress site, you will likely need to enable less secure apps on your email account. Below, we’ll show you how to do this within Gmail, Yahoo, and Hotmail/Live.

Enable Less Secure Apps in Gmail

To enable less secure apps on Gmail, log in to your Gmail or G Suite account.

Then, go to less secure apps by clicking this link. Next to Access for less secure apps select Turn on.

If you have Two Factor Authentication enabled, you will need to disable it before you can enable this option.

Gmail less secure apps to enable SMTP

Note: Sometimes for security reasons Gmail may automatically block the sign-in used by SMTP, even with less secure apps enabled. When this happens, your recovery email address will be sent an email with a sign-in attempt warning (see below).

To remove this block, you’ll need to click the Review Your Devices Now button (or visit your account’s Recently Used Devices page) and follow the instructions to let Google know this was a legitimate login attempt.

Gmail SMTP security email

Enable Less Secure Apps in Yahoo

To enable less secure apps on Yahoo, first log into your Yahoo account.

After logging in, click on this link to open your account’s security settings.

From here, you can turn on “Allow apps that use less secure sign-in”. After turning it on, the button color will be turned to green.

Yahoo less secure sign in

Enable Less Secure Apps in Live or Hotmail

If you’re using Live or Hotmail email account, you shouldn’t need to enable less secure apps on your account.

4. Sending a Test Email

Now that all of your SMTP settings are in place, the next step is to make sure everything is working correctly. To test this out, click on the Email Test tab on WP Mail SMTP’s settings page.

Open the Email Test tab in WP Mail SMTP

For the test email’s Send To field, you can enter any email address that you have access to.

Next, you can also choose whether you’d like to send an HTML or plain text email. Unless you’re certain that your site only sends plain text emails, we recommend leaving HTML set to ON.

When you’re ready, click the Send Email button.

After sending the email, you should see a success message.

Notice showing the WP Mail SMTP test email sent successfully

If you check the inbox for the email address you entered, you should receive the email for this test. If you’re using Yahoo email, likely you won’t receive the test emails, or other site emails, instantly (it may take 5-10 minutes for emails to arrive in your inbox).

Successful test email from WP Mail SMTP

Note: If you have forms on your site, be sure to also test these emails specifically by submitting a couple of test submissions. That way you can be certain that these SMTP settings are applying to your forms.

That’s it! You’ve now configured SMTP on your WordPress site, and your site’s emails should start delivering successfully and reliably.

Next, would you like to keep a record of all emails sent out from your WordPress site? Be sure to check out our doc on setting up email logging so you can always check what emails have been sent.