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

Would you like to improve email deliverability for your WordPress site in just a few steps? By setting up Simple Mail Transfer Protocol (SMTP), you can quickly fix email delivery issues.

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 in WP Mail SMTP 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 mailers.

Additionally, many hosting providers block their SMTP ports by default, which prevents an SMTP connection. In such cases, you’ll have to contact your web host to see if anything can be done to fix the issue.


1. Setting Up WP Mail SMTP

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

Once the plugin is installed, click on WP Mail SMTP » Settings in your WordPress sidebar menu. This will open the plugin’s Settings page. We’ll cover each of the available options in detail below.

From Email

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

Entering the From Email in the 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.

Forcing the From Email 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.

Adding a From Name to the WP Mail SMTP settings

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

Forcing the From Name site wide

Return Path

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

The WP Mail SMTP Return Path setting

Mailer

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

Selecting the Other SMTP Mailer in the WP Mail SMTP settings

2. Configuring the Other SMTP Mailer

Once you’ve selected Other SMTP as your mailer, a new section will appear with additional SMTP settings for you to configure.

  • SMTP Host: The outgoing server listed in your email provider’s SMTP settings.
  • Encryption: The type of encryption used for the SMTP connection (TLS, SSL, or none).
  • SMTP Port: The port your provider uses for SMTP connections.
  • Authentication: Turns authentication on or off. Most providers require it to be on.
  • SMTP Username: Your email address.
  • SMTP Password: You’ll need to generate an app password for your account, as detailed later in this tutorial.

The Othe SMTP mailer settings in WP Mail SMTP

Each email provider requires slightly different SMTP configurations. If you’re not sure what to enter for these settings, 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 guide to using constants for WP Mail SMTP for details.

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

Gmail or G Suite SMTP Settings

SMTP 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 our built-in Gmail integration instead of the less secure Other SMTP mailer. If you use SMTP, though, don’t forget to enable less secure apps.

Hotmail or Live SMTP Settings

SMTP 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

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

Yahoo Business SMTP Settings

SMTP Host: smtp.bizmail.yahoo.com
Encryption: SSL
SMTP Port: 465
Authentication: On
Username: Your Yahoo Business email address.
Password: You will need to generate an app password for your account.

AOL SMTP Settings

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

Once you’ve entered these details, be sure to click the Save Settings button at the bottom of the screen.

Saving WP Mail SMTP settings

3. Enabling Less Secure Apps

In order to use SMTP on your WordPress site, you’ll most likely need to enable less secure apps in your email account. Below, we’ll show you how to do this for Gmail, Yahoo, AOL, Hotmail, and Live.

Enabling Less Secure Apps in Gmail

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

Then go to less secure apps in your security settings. On this page, scroll to the Allow less secure apps option and toggle it into the ON position.

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 Gmail may automatically block the sign-in used by SMTP for security reasons, even with less secure apps enabled. When this happens, an email will be sent to your recovery email address with a sign-in attempt warning (see below).

To remove this block, you’ll need to click the Check Activity button in the email (or visit your account’s Notifications page) and follow the instructions provided to let Google know this was a legitimate login attempt.

Gmail SMTP security email

Enabling Less Secure Apps in Yahoo

Note: For Yahoo Business, please see the official documentation on managing app passwords for steps on finding the proper settings for generating your app password. Then you can follow the rest of the steps below.

First, log in to your Yahoo account. Then open your account’s security settings.

In your account’s settings, you’ll need to generate a special password for your WP Mail SMTP integration. To do so, click on Generate app password.

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 WP Mail SMTP in the field provided. Then click the Generate button.

Generate WP Mail SMTP password in Yahoo

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

App Password for WP Mail SMTP

Copy this password, then go back to your WP Mail SMTP settings in your WordPress dashboard. 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, log in to your account. Then open your security settings.

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

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, choose the Other option and enter WP Mail SMTP in the field provided. Then click the Generate button.

Generate WP Mail SMTP password in AOL account

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

App Password for WP Mail SMTP

Copy the password, then go back to your WP Mail SMTP settings in your WordPress dashboard. 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. Then open your account’s security settings.

From here, 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 return to the Security page, where you’ll need to generate an app password to use with WP Mail SMTP.

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

Create a new app password in Microsoft

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

App Password in Microsoft

Copy the password, then go back to your WordPress dashboard and WP Mail SMTP settings. Paste the password into the SMTP Password field and save your changes.

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 do so, go to WP Mail SMTP » Tools and click on the Email Test tab.

Accessing the WP Mail SMTP test email tool

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

Setting up a WP Mail SMTP test email

Next, 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 the HTML option set to ON.

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

After sending the email, you should see a message that reads, “Success! Test HTML email was sent successfully! Please check your inbox to make sure it was delivered.”

A WP Mail SMTP test email success message

If you check the inbox for the email address you entered, you should see 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).

A successful WP Mail SMTP test email

Note: If you have forms that send emails through your site, be sure to also test these out by submitting a couple of test entries. That way, you can be certain that these SMTP settings apply 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 the emails sent out from your WordPress site? Be sure to check out our doc on setting up email logging so you can always see what emails have been sent.