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 the Other SMTP Mailer
  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, so 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 your WordPress menu. This will open the plugin’s 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.

Adjust From Email in WP Mail SMTP settings

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

We recommend that you also check the box labeled Force From Email. This will make sure that the From Email setting within WP Mail SMTP matches the From Email settings for all plugins site-wide.

From Name

By default, the From Name will be set to the name of your site. However, you can change this to anything you’d like.

You can also choose to enable the Force From Name setting to apply this name to all 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 the Other SMTP Mailer

Now that you’ve selected the Other SMTP option as your mailer, a new section will appear with additional SMTP settings you’ll need to configure.

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: For better security, we recommend adding SMTP Username and SMTP Password to your site’s configuration file using constants. Be sure to check out our constants guide for details.

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

Gmail / G Suite SMTP Settings

Host: smtp.gmail.com
Encryption: TLS
SMTP Port: 587 (or 465 using SSL encryption)
Authentication: On
Username: Your Gmail account email address (e.g. [email protected])
Password: Your Gmail account password

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.office365.com
Encryption: TLS
SMTP Port: 587
Authentication: On
Username: Your Hotmail account email (e.g. [email protected])
Password: You will need to generate an app password for your account.

Yahoo Mail SMTP Settings

Host: smtp.mail.yahoo.com
Encryption: SSL
SMTP Port: 465
Authentication: On
Username: Your Yahoo Mail account email (e.g. [email protected])
Password: You will need to generate an app password for your account.

AOL SMTP Settings

Host: smtp.aol.com
Encryption: TLS
SMTP Port: 587
Authentication: On
Username: Your AOL screen name (e.g. john)
Password: You will need to generate an app password for your account.

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, AOL, and Hotmail/Live.

Enabling Less Secure Apps in Gmail

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

Then, go to less secure apps by clicking this link. On that page, scroll to the Allow less secure apps setting and toggle this to ON to enable less secure apps.

Gmail less secure apps to enable SMTP

If you have 2-Factor Authentication enabled, you will need to disable it on your account before you can enable this option.

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 Check Activity button (or visit your account’s Notifications page) and follow the instructions to let Google know this was a legitimate login attempt.

Gmail SMTP security email

Enabling Less Secure Apps in Yahoo

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

After logging in, you’ll need to open your account’s security settings.

Within your account’s settings, you’ll need to generate a special password for your WP Mail SMTP integration. To generate this password, click on the Generate app password button.

Generate App Password in Yahoo

This will open up an overlay, where you’ll need to select the app you’ll be granting permission to. From the dropdown, select the Other option and enter in WP Mail SMTP. Then, go ahead and click the Generate button.

Generate WP Mail SMTP password in Yahoo

This will generate a one-time password that you can use within your WP Mail SMTP account.

App Password for WP Mail SMTP

Go ahead and copy this password and navigate back to your WP Mail SMTP settings. Then, paste the password into the SMTP Password field, and save your settings.

SMTP Password settings

Enabling Less Secure Apps in AOL

To enable less secure apps in AOL, first log into your AOL account.

After logging in, click here to open your account’s security settings.

Within your account’s settings, you’ll need to generate a special password for your site’s WP Mail SMTP integration. To do this, click on the Generate app password button.

Generate App Password in Yahoo

This will open up an overlay, where you’ll need to select the app you’ll be granting permission to. From the dropdown, you can select the Other option and enter in WP Mail SMTP. Then, click the Generate button.

Generate WP Mail SMTP password in AOL account

This will generate a one-time password that you can use within your WP Mail SMTP account.

App Password for WP Mail SMTP

Go ahead and copy this password and navigate back to your WP Mail SMTP settings. Then, paste the password into the SMTP Password field, and save your settings.

SMTP Password

Enabling Less Secure Apps in Outlook

To enable less secure apps in Outlook (including Live and Hotmail accounts), you’ll first need to log in to your account.

After logging in, you’ll need to open your account’s security settings.

From there, select the Advanced security options to open up additional security settings.

Advanced Security Options in Microsoft

Next, you’ll need to activate 2-Factor Authentication (2FA) for your account, if you haven’t already.

Once you’ve enabled 2FA for your account, you’ll be returned to the Security page, where you’ll need to generate an app password to use for your SMTP account.

To generate your app password, scroll to the App passwords section and click on the Create a new app password button.

Create a new app password in Microsoft

This will generate a random password that you can use for your account.

App Password in Microsoft

Go ahead and copy this password and navigate back to your SMTP settings. Then, paste the password into the SMTP Password field and save your settings.

SMTP Password Setting

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.

Note: If you’re using a Yahoo email address, it may take 5-10 minutes for emails to arrive in your inbox (including test emails).

Successful test email from WP Mail SMTP

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

That’s it! You’ve now configured the Other SMTP mailer 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.