### [Other SMTP](https://wpmailsmtp.com/docs/how-to-set-up-the-other-smtp-mailer-in-wp-mail-smtp/)

**Published:** November 27, 2023
**Author:** Umair Majeed

**Excerpt:** Learn how to set up any other SMTP provider in WP Mail SMTP.

**Content:**

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.

This tutorial will show you how to use the Other SMTP mailer in WP Mail SMTP to improve email delivery for your site.

- [What Is Other SMTP?](#what)
- [Setting Up WP Mail SMTP](#setup)
- [Configuring the Other SMTP Mailer](#other-smtp)
- [Generating an App Password](#app-passwords)
- [Sending a Test Email](#test)
- [Frequently Asked Questions](#faq)

**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](https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-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.

---

## What Is Other SMTP?

The Other SMTP mailer allows you to send emails from any email address, using standard SMTP (Simple Mail Transfer Protocol). As a result, it is easier to set up than most other mailers.

When using this mailer, you are more likely to run into server configuration issues. Also, if you change your email account’s password, you will have to update your mailer password settings. These and other limitations can make for a less-than-ideal experience.

- **Cost:** There is no cost with the Other SMTP mailer.
- **From Email Requirements:** Can be used with any From Email address, but this address must be used site-wide.
- **Bottom Line:** Set up with the Other SMTP mailer is quick and easy, compared to most other options. It is useful for sites that cannot use other mailers, but it should not be the first choice, due to its security limitations.

**Note:** For more information about all the available mailers, please view [the complete guide to mailers in WP Mail SMTP](https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers).

## Setting Up WP Mail SMTP

Before you get started, be sure to [install and activate the WP Mail SMTP plugin](https://wpmailsmtp.com/docs/how-to-install-the-wp-mail-smtp-plugin/ "How to Install the WP Mail SMTP Plugin").

Once you’ve installed the plugin, click on **WP Mail SMTP » Settings** in your WordPress sidebar menu. Then select the **General** tab to open the plugin’s Settings page.

![WP Mail SMTP Settings page](https://wpmailsmtp.com/wp-content/uploads/2023/08/wp-mail-smtp-settings.png)We’ll cover each of the available options to set up a Primary Connection below.

### From Email

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

![Entering the From Email in the WP Mail SMTP settings](https://wpmailsmtp.com/wp-content/uploads/2022/12/from-email-primary-connection.png)**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**. Doing so will ensure 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](https://wpmailsmtp.com/wp-content/uploads/2020/11/other-smtp-mailer-force-from-email.png)**Note:** For more details, see our guide to understand [how the Force From Email setting](https://wpmailsmtp.com/docs/using-the-force-from-email-setting/) works.

### From Name

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

![Adding a From Name to the WP Mail SMTP settings](https://wpmailsmtp.com/wp-content/uploads/2020/11/other-smtp-mailer-from-name.png)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](https://wpmailsmtp.com/wp-content/uploads/2020/11/other-smtp-mailer-force-from-name.png)### 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 due to issues with a recipient’s email.

![The WP Mail SMTP Return Path setting](https://wpmailsmtp.com/wp-content/uploads/2020/11/other-smtp-mailer-return-path.png)### Mailer

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

![Select Other SMTP option](https://wpmailsmtp.com/wp-content/uploads/2026/02/select-other-smtp.png)## 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.

**Note:** If you’re configuring the Other SMTP mailer with Outlook, Office365, or Hotmail account, your [emails will stop working by September 2025](https://wpmailsmtp.com/microsoft-outlook-smtp-how-to-fix-basic-authentication-error/). This is because Microsoft is retiring support for Basic SMTP authentication. We suggest using our dedicated [Outlook mailer](https://wpmailsmtp.com/docs/how-to-set-up-the-outlook-mailer-in-wp-mail-smtp/ "Microsoft 365 / Outlook.com") if you’d like to send emails through your Microsoft mailbox account.

![WP Mail SMTP settings](https://wpmailsmtp.com/wp-content/uploads/2021/10/wp-mail-smtp-settings.png)Each email provider requires slightly different SMTP configurations. We’ve compiled a list of SMTP configurations for popular email providers below if you’re not sure what to enter for these settings.

**Note:** For better security, we recommend adding your **SMTP Username** and **SMTP Password** to your site’s configuration file using constants. Check out our guide to [using constants for WP Mail SMTP](https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/) for details.

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

- [SendLayer](#sendlayer)
- [Gmail or Google Workspace](#gmail)
- [Outlook (including Hotmail or Live)](#hotmail)
- [Yahoo Mail](#yahoo)
- [Yahoo Business (Verizon Small Business Essentials)](#yahoo-business)
- [AOL](#aol)
- [Zoho](#zoho-mail)
- [Proton Mail](#proton-mail)
- [DreamHost](#dreamhost)
- [Mailchimp](#mailchimp)
- [HostGator](#hostgator)
- [Mailjet](#mailjet)
- [iCloud Mail](#icloud)

### SendLayer Settings

**SMTP Host:** smtp.sendlayer.net
**Encryption:** TLS
**SMTP Port:**  587
**Authentication:** On
**Username:** Generated when you authorize your domain
**Password:** Generated when you authorize your domain

**Note:** SendLayer generates credentials for your site automatically when you authorize your domain. Check out SendLayer’s guide to [managing SMTP credentials](https://sendlayer.com/docs/managing-smtp-credentials) for more information.

### Gmail or Google Workspace 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., pattie@gmail.com)
**Password:** You will need to [generate an app password](#secure-gmail) in Google

**Note:** We recommend using [our built-in Gmail integration](https://wpforms.com/how-to-securely-send-wordpress-emails-using-gmail-smtp/) instead of the less secure Other SMTP mailer.

### Outlook (Including Hotmail or Live) SMTP Settings

## Warning!

Microsoft is retiring support for Basic SMTP authentication. This means your emails will stop sending if you use Outlook or Hotmail SMTP with the Other SMTP mailer. We recommend switching to our dedicated [Outlook mailer](https://wpmailsmtp.com/docs/how-to-set-up-the-outlook-mailer-in-wp-mail-smtp/ "Microsoft 365 / Outlook.com") to ensure your emails are delivered. You can use our [One-Click Setup option](https://wpmailsmtp.com/docs/microsoft-365-outlook-com-one-click-setup/ "Microsoft 365 / Outlook.com One-Click Setup") to quickly configure the Outlook mailer.

**SMTP Host:** smtp.office365.com
**Encryption:** TLS
**SMTP Port:** 587
**Authentication:** On
**Username:** Your Outlook account email (e.g., pattie@outlook.com)
**Password:** You will need to [generate an app password](#secure-outlook) 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., pattie@yahoo.com)
**Password:** You will need to [generate an app password](#secure-yahoo) for your account

### Yahoo Business (Verizon Small Business Essentials) 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](#secure-yahoo) 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](#secure-aol) for your account

### Zoho Mail SMTP Settings

Zoho offers two types of email addresses: free accounts (i.e., pattie@zoho.com) and domain-based accounts (i.e., pattie@yourdomain.com). Each type of email requires different SMTP settings. We’ve shared both sets below.

**Note:** We recommend using the built-in [Zoho Mail](https://wpmailsmtp.com/docs/how-to-set-up-the-zoho-mailer-in-wp-mail-smtp/) option instead of connecting Zoho through the Other SMTP mailer.

#### Emails @zoho.com

**Host:** smtp.zoho.com
**Port:** 587 (or 465 using SSL encryption)
**Username:** Your Zoho Mail account email (e.g. pattie@zoho.com)
**Password:** You will need to [generate an app password](#secure-zoho) for your account
**Encryption:** TLS

#### Emails @yourdomain.com

**Host:** smtppro.zoho.com
**Port:** 587 (or 465 using SSL encryption)
**Username:** Your domain-based email (e.g. pattie@yourdomain.com)
**Password:** You will need to [generate an app password](#secure-zoho) for your account
**Encryption:** TLS

### Proton Mail SMTP Settings

**SMTP Host:** smtp.protonmail.ch
**Encryption:** TLS
**SMTP Port:** 587
**Authentication:** On
**Username:** You will need to [generate an SMTP username ](#secure-protonmail)for your account
**Password:** You will need to [generate an SMTP password ](#secure-protonmail)for your account

### DreamHost

**SMTP Host:** smtp.dreamhost.com
**Encryption:** TLS
**SMTP Port:** 587
**Authentication:** On
**Username:** Your DreamHost account email (e.g., pattie@dreamhost.com)
**Password:** Your DreamHost account email’s password

### Mailchimp

**SMTP Host:** smtp.mandrillapp.com
**Encryption:** TLS
**SMTP Port:** 587 (or 465 using SSL encryption)
**Authentication:** On
**Username:** The email address associated with your Mailchimp account
**Password:** You will need to [generate a transactional API key](#mailchimp-key) for your account

### HostGator

**SMTP Host:** gator12345.hostgator.com
**Encryption:** SSL
**SMTP Port:** 465
**Authentication:** On
**Username:** The email address associated with your HostGator account
**Password:** Your HostGator account’s password

**Note:** Your SMTP Hostname can be found in your welcome email or in HostGator’s customer portal. Check out HostGator’s guide on [finding your server name ](https://www.hostgator.com/help/article/email-connection-settings#serverhostname)for more information.

### Mailjet

**SMTP Host:** in-v3.mailjet.com
**Encryption:** TLS
**SMTP Port:** 587 (or 465 using SSL encryption)
**Authentication:** On
**Username:** You will need to [generate an SMTP username ](#secure-mailjet)for your account
**Password:** You will need to [generate an SMTP password ](#secure-mailjet)for your account

### iCloud Mail

**SMTP Host:** smtp.mail.me.com
**Encryption:** TLS
**SMTP Port:** 587
**Authentication:** On
**Username:** Your iCloud Mail email address (e.g., pattie@icloud.com)
**Password:** You will need to [generate an app password ](#secure-icloud)for your account

### Backup Connection

Setting up a [Backup Connection](https://wpmailsmtp.com/docs/configuring-backup-connection/) is optional and isn’t required to complete your Other SMTP mailer setup. However, to further improve email deliverability, we recommend [configuring an additional connection](https://wpmailsmtp.com/docs/configuring-additional-connections/) to serve as a backup in case your Primary Connection fails.

![backup-connection-settings](https://wpmailsmtp.com/wp-content/uploads/2022/12/backup-connection-settings.png)**Note:** Want to route your emails through a specific additional connection based on a set of rules or conditions? Be sure to check out our tutorial on [Smart Routing](https://wpmailsmtp.com/docs/setting-up-smart-email-routing/) to learn how.

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](https://wpmailsmtp.com/wp-content/uploads/2022/12/click-save-settings-button.png)## Generating an App Password

To use SMTP on your WordPress site, you’ll most likely need to generate an app password in your email account. Below, we’ll show you how to do this for the following email providers:

- [Gmail](#secure-gmail)
- [Yahoo](#secure-yahoo)
- [AOL](#secure-aol)
- [Outlook (including Hotmail and Live)](#secure-outlook)
- [Zoho](#secure-zoho)
- [Proton Mail](#secure-protonmail)
- [Mailchimp](#mailchimp-key)
- [Mailjet](#secure-mailjet)
- [iCloud Mail](#secure-icloud)

### Generating an App Password in Gmail

**Note:** Before you can generate an app password in Gmail, you’ll need to [turn on Google’s 2-Step Verification](https://support.google.com/accounts/answer/185839).

To create an app password in Gmail, log in to your Gmail or Google Workspace account.

Once you’ve logged in, go to [App passwords](https://myaccount.google.com/apppasswords "App passwords") in your security settings. Then enter a name for the password in the **App name** field. Enter WP Mail SMTP to easily remember what the password is for.

![Click select app dropdown](https://wpmailsmtp.com/wp-content/uploads/2026/02/app-name.png)After that, click **Create** to generate your password.

![Add name for app password](https://wpmailsmtp.com/wp-content/uploads/2026/02/click-create.png)This will generate an app password that you can use for your WP Mail SMTP setup.

![Generated-app-password](https://wpmailsmtp.com/wp-content/uploads/2026/02/copy-password.png)You’ll want to copy this password, then return to your WP Mail SMTP settings in your WordPress dashboard. From here, paste the password into the **SMTP Password** field and save your settings.

![SMTP Password settings](https://wpmailsmtp.com/wp-content/uploads/2022/12/enter-smtp-password.png)**Note:** Sometimes Gmail may automatically block the sign-in used by SMTP for security reasons, even when using an app password. 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](https://myaccount.google.com/notifications)) and follow the instructions provided to let Google know this was a legitimate login attempt.

![Gmail SMTP security email](https://wpmailsmtp.com/wp-content/uploads/2020/11/Sign-In-Attempt-Blocked-Google-1.png)### Generating an App Password in Yahoo

**Note:** For Yahoo Business (Verizon Small Business Essentials), please see the [official documentation on managing app passwords](https://help.turbify.com/article/manage-app-passwords) for instructions on finding the correct settings to generate your app password. Then you can follow the remaining steps below.

First, log in to your Yahoo account. Then [open your account’s security settings](https://login.yahoo.com/account/security#less-secure-apps "Less Secure Apps").

In your account’s settings, you’ll need to generate a special password for your WP Mail SMTP integration. To do so, scroll to the **External connections** section and click **Create app password**.

![Generate App Password in Yahoo](https://wpmailsmtp.com/wp-content/uploads/2026/01/create-app-password.png)In the overlay that appears, enter a name for the password you intend to create. This name is for internal use only. We recommend using a name that relates to the service for which you’re creating the app password. After entering the name, click the **Generate password** button.

![Generate WP Mail SMTP password in Yahoo](https://wpmailsmtp.com/wp-content/uploads/2026/01/generate-password.png)This will generate a one-time password that you can use with WP Mail SMTP.

![App Password for WP Mail SMTP](https://wpmailsmtp.com/wp-content/uploads/2026/01/copy-app-password.png)**Note**: You won’t be able to access the app password after closing the overlay. Make sure to store it in a secure location for future reference.

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](https://wpmailsmtp.com/wp-content/uploads/2022/12/enter-smtp-password.png)### Generating an App Password in AOL

To generate an app password in AOL, log in to your account. Then [open your security settings](https://login.aol.com/account/security?lang=en-US "AOL Security Settings").

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

![Generate App Password in Yahoo](https://wpmailsmtp.com/wp-content/uploads/2020/11/Generate-App-Password-in-Yahoo.png)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](https://wpmailsmtp.com/wp-content/uploads/2020/11/Generate-App-Password-in-AOL-account.png)This will generate a one-time password that you can use with WP Mail SMTP.

![App Password for WP Mail SMTP](https://wpmailsmtp.com/wp-content/uploads/2020/11/App-Password-for-AOL.png)Copy the password, then return to your WP Mail SMTP settings in your WordPress dashboard. Paste the password into the **SMTP Password** field and save your settings.

![SMTP Password](https://wpmailsmtp.com/wp-content/uploads/2022/12/enter-smtp-password.png)### Generating an App Password in Outlook

## Warning!

Microsoft is retiring support for Basic SMTP authentication. This means your emails will stop sending if you use Outlook or Hotmail SMTP with the Other SMTP mailer. We recommend switching to our dedicated [Outlook mailer](https://wpmailsmtp.com/docs/how-to-set-up-the-outlook-mailer-in-wp-mail-smtp/ "Microsoft 365 / Outlook.com") to ensure your emails are delivered. You can use our [One-Click Setup option](https://wpmailsmtp.com/docs/microsoft-365-outlook-com-one-click-setup/ "Microsoft 365 / Outlook.com One-Click Setup") to quickly configure the Outlook mailer.

To create an app password in Outlook (including Live and Hotmail accounts), you’ll first need to log in to your account. Then [open your account’s security settings](https://account.microsoft.com/security "Outlook Security Settings").

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

![Advanced Security Options in Microsoft](https://wpmailsmtp.com/wp-content/uploads/2020/11/Advanced-Security-Options-in-Microsoft.png)Next, you’ll need to [activate 2-Factor Authentication (2FA) for your account](https://support.microsoft.com/en-us/account-billing/how-to-use-two-step-verification-with-your-microsoft-account-c7910146-672f-01e9-50a0-93b4585e7eb4 "How to use two-step verification with your Microsoft 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](https://wpmailsmtp.com/wp-content/uploads/2020/11/Create-a-new-app-password-in-Microsoft.png)This will generate a random password that you can use for your account.

![App Password in Microsoft](https://wpmailsmtp.com/wp-content/uploads/2020/11/App-Password-in-Microsoft.png)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](https://wpmailsmtp.com/wp-content/uploads/2022/12/enter-smtp-password.png)### Generating an App Password in Zoho

To generate an app password for Zoho, you’ll first need to log in to your account.

Once you’re logged in, head to your [account’s security settings](https://accounts.zoho.com/home#security/app_password "Security").

From here, scroll to the **Application-Specific Passwords** section and click the **Generate New Password** button.

![click-generate-new-password-zoho](https://wpmailsmtp.com/wp-content/uploads/2022/05/generate-new-password-zoho.png)In the field that pops up, enter **WP Mail SMTP** and click the **Generate** button.

![Enter app name and click generate](https://wpmailsmtp.com/wp-content/uploads/2022/05/enter-app-name-and-generate-1.png)Next, copy the password that Zoho has generated for you.

![Copy app specific password](https://wpmailsmtp.com/wp-content/uploads/2022/05/copy-app-specific-password.png)Then, head over to your WP Mail SMTP settings. Be sure to paste this password into the **SMTP Password** field and save your settings.

![SMTP Password Setting](https://wpmailsmtp.com/wp-content/uploads/2022/12/enter-smtp-password.png)### Generating a Username and Password in Proton Mail

**Note:** Before getting started, you’ll need to add and verify a domain on your Proton Mail account dashboard. For a detailed guide, please see [Proton Mail’s custom domain documentation](https://protonvpn.com/support/custom-domain/).

After verifying your domain, proceed to generate your SMTP tokens. For this, log in to your Proton Mail account and [open your account settings](https://account.proton.me/u/2/mail/dashboard "Less Secure Apps").

On your Account settings page, click **IMAP/SMTP** near the bottom of the left sidebar.

![](https://wpmailsmtp.com/wp-content/uploads/2020/11/smtp-settings-protonmail.png)On the next page, scroll to the **SMTP submission** section and click the **Generate token** button.

![Generate token](https://wpmailsmtp.com/wp-content/uploads/2023/07/generate-token.png "Click the Generate Tok Button")**Note:** If you don’t see the Generate token button, you’ll need to reach out to Proton Mail’s support to enable SMTP submission for your account.

In the overlay that appears, enter **WP Mail SMTP** in the **Token name** field and select one of your active custom domain email addresses from the **Email address** dropdown.

![Select email address](https://wpmailsmtp.com/wp-content/uploads/2023/07/select-email-address.png "Enter Token Name and Select Email Address")Then click the **Generate** button to continue.

![Click the generate button](https://wpmailsmtp.com/wp-content/uploads/2023/07/click-the-generat-button.png "Click the Generate Button to Continue")As an additional verification step, you’ll need to enter your account password and click **Authenticate** to proceed.

![Enter password to authenticate](https://wpmailsmtp.com/wp-content/uploads/2023/07/enter-password-to-authenticate.png "Enter Password to Authenticate")This will generate an **SMTP username** and **SMTP token** (password) for you to use with WP Mail SMTP.

**Note:** The **SMTP username** will be the same as the custom email address you selected. Also, **SMTP token** is the **SMTP Password** you’ll use in WP Mail SMTP.

![Copy your SMTP token details](https://wpmailsmtp.com/wp-content/uploads/2023/07/copy-your-smtp-token.png "Copy Your SMTP Token Details")Go ahead and copy the username and password. To copy a value, click the **Copy** icon next to it.

![Copy SMTP token value](https://wpmailsmtp.com/wp-content/uploads/2023/07/copy-smtp-token-value.png "Copy SMTP Token Value")**Note:** You won’t be able to access your SMTP token (password) again after closing the overlay. We recommend storing this value in a secure location in case you need to refer back to it. However, you can always generate a new token if you need to.

After copying your SMTP token values, return to WP Mail SMTP settings in your WordPress dashboard. Next, paste the copied username and password into the corresponding **SMTP Username** and **SMTP Password** fields.

![Enter SMTP username and password](https://wpmailsmtp.com/wp-content/uploads/2020/11/enter-smtp-username-password.png)Be sure to save your changes afterward.

### Generating a Transactional API Key in Mailchimp

To generate a transactional API key for Mailchimp, you’ll first need to log in to your Mandrill account. Then open your [account’s settings](https://mandrillapp.com/settings).

From there, click on the **+ Add API Key** button.

![Click Add API Key in Mailchimp](https://wpmailsmtp.com/wp-content/uploads/2023/11/mailchimp-api-key.png)Next, copy the API key that Mailchimp has generated for you.

![Copy Mailchimp API key](https://wpmailsmtp.com/wp-content/uploads/2023/11/copy-mailchimp-api-key.png)Then, head over to your WP Mail SMTP settings. Be sure to paste this API key into the **SMTP Password** field and save your settings.

![SMTP Password Setting](https://wpmailsmtp.com/wp-content/uploads/2022/12/enter-smtp-password.png)### Generating a Username and Password in Mailjet

To generate an app password in Mailjet, log in to your account. Then [open your account settings](https://app.mailjet.com/account "AOL Security Settings").

Next, click on **SMTP and SEND API Settings** in the Senders & Domains section.

![](https://wpmailsmtp.com/wp-content/uploads/2020/11/smtp-settings-mailjet.png)Then, click on the **See all API credentials** button on the next page.

![](https://wpmailsmtp.com/wp-content/uploads/2020/11/see-all-api-credentials-button.png)Next, click on the **Generate Secret Key** button on the next page.

![](https://wpmailsmtp.com/wp-content/uploads/2020/11/generate-secret-key-button.png)This will generate and display the **API Key** (SMTP Username) and **Secret Key** (SMTP Password) for you to use with WP Mail SMTP. To copy a value, click the **Copy** icon next to it.

![](https://wpmailsmtp.com/wp-content/uploads/2020/11/copy-value.png)After copying your **API Key** and **Secret Key** values, return to WP Mail SMTP settings in your WordPress dashboard. Next, paste the copied username and password into the corresponding **SMTP Username** and **SMTP Password** fields.

![Enter SMTP username and password](https://wpmailsmtp.com/wp-content/uploads/2020/11/enter-smtp-username-password.png)Be sure to save your changes afterward.

### Generating an App Password in Apple iCloud Mail

**Note:** Before you can generate an app password in iCloud Mail, you’ll need to[ turn on Apple’s two-factor authentication](https://support.apple.com/en-us/102660).

To generate an app password for iCloud Mail, [log in to your Apple account](https://appleid.apple.com/account/home). Then, from the **Sign-In and Security** settings, click on **App-Specific Passwords**.

![App specific password iCloud](https://wpmailsmtp.com/wp-content/uploads/2023/11/apple-icloud-app-specific-password.png)Next, click on the **Generate an app-specific password** button from the overlay that appears.

![Generate an app-specific password in Apple](https://wpmailsmtp.com/wp-content/uploads/2023/11/generate-app-specific-password-apple.png)Then, enter **WP Mail SMTP** in the field provided and click on the **Create** button.

![Create app password ](https://wpmailsmtp.com/wp-content/uploads/2023/11/create-app-password-apple.png)This will generate an app password that you can use for your WP Mail SMTP setup.

![generated app password](https://wpmailsmtp.com/wp-content/uploads/2023/11/generated-app-password.png)Copy the password, then return to your WP Mail SMTP settings in your WordPress dashboard. Paste the password into the **SMTP Password** field and save your settings.

![Enter SMTP password](https://wpmailsmtp.com/wp-content/uploads/2022/12/enter-smtp-password.png)## 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.

![Opening the Email Test tool in WP Mail SMTP](https://wpmailsmtp.com/wp-content/uploads/2020/11/wp-mail-smtp-tools-email-test.png)In the **Send To** field, you can enter any email address whose inbox you have access to.

**Note:** If you’ve set up an [additional connection](https://wpmailsmtp.com/docs/configuring-additional-connections/), you’d be able to choose between your Primary Connection and other connections when sending a test email.

Next, we recommend leaving the **HTML** setting **ON** unless you know you’ll only be sending plain text emails.

After you’ve filled out the required settings, go ahead and click the **Send Email** button to send your test email.

![Click send email button](https://wpmailsmtp.com/wp-content/uploads/2022/04/Click-send-email-button.png)Once the test email has been sent, you should see a success message that reads, “Success! Test HTML email was sent successfully! Please check your inbox to make sure it was delivered.”

![WP Mail SMTP test email success message](https://wpmailsmtp.com/wp-content/uploads/2021/08/WP-Mail-SMTP-test-email-success-message.png)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).

![Successful test email from WP Mail SMTP](https://wpmailsmtp.com/wp-content/uploads/2021/08/Successful-test-email-from-WP-Mail-SMTP.png)**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](https://wpforms.com/docs/how-to-properly-test-your-wordpress-forms-before-launching-checklist/). That way, you can be certain that these SMTP settings apply to your form emails as well.

## Frequently Asked Questions

Below, we’ve answered the top questions we receive about using the Other SMTP mailer with WP Mail SMTP.

#### Why am I getting the following error?

`SMTP Error: Could not authenticate`

In the sections below, we’ll go over some of the causes of this issue, and a few courses of action you can take to fix it:

##### Incorrect SMTP Username and Password

In your [WP Mail SMTP settings](https://wpmailsmtp.com/docs/how-to-set-up-the-other-smtp-mailer-in-wp-mail-smtp/#other-smtp "How to Set Up the Other SMTP Mailer in WP Mail SMTP: Other SMTP"), double-check that your **SMTP Username** and **SMTP Password** are correct.

![SMTP username and password](https://wpmailsmtp.com/wp-content/uploads/2022/12/other-smtp-username-password.png)**Note:** The following mailers require you to generate an app-specific password: [Gmail](https://wpmailsmtp.com/docs/how-to-set-up-the-other-smtp-mailer-in-wp-mail-smtp/#gmail "How to Set Up the Other SMTP Mailer in WP Mail SMTP: Gmail"), [Yahoo](https://wpmailsmtp.com/docs/how-to-set-up-the-other-smtp-mailer-in-wp-mail-smtp/#yahoo "How to Set Up the Other SMTP Mailer in WP Mail SMTP: Yahoo"), [Yahoo Business](https://wpmailsmtp.com/docs/how-to-set-up-the-other-smtp-mailer-in-wp-mail-smtp/#yahoo-business "How to Set Up the Other SMTP Mailer in WP Mail SMTP: Yahoo Business"), and [AOL](https://wpmailsmtp.com/docs/how-to-set-up-the-other-smtp-mailer-in-wp-mail-smtp/#aol "How to Set Up the Other SMTP Mailer in WP Mail SMTP: AOL"). For details on generating passwords for each of these apps, please refer to the [Generating an App Password](#app-passwords "How to Set Up the Other SMTP Mailer in WP Mail SMTP: App Passwords") section.

##### Misplaced Constants

If you are using constants to set up WP Mail SMTP, please double-check to be sure you’ve added them in the correct place. Please refer to our guide on [securing SMTP settings with constants](https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/ "How to Secure SMTP Settings by Using Constants") for more details.

##### Adding a Custom Filter

The WordPress (PHPMailer) uses these auth types in order:

`CRAM-MD5, LOGIN, PLAIN, XOAUTH2`

If the receiving SMTP server is not configured correctly, it will fail at the first one.

If you’ve covered the two troubleshooting options above, and you’re still receiving the error, you can try adding the following filter:

**Note:**  For extra guidance, please see WPBeginner’s tutorial on [adding custom code](https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/ "How to Easily Add Custom Code in WordPress (without Breaking Your Site)").

#### How do I fix the ‘Could not connect to SMTP host’ error?

This is a common SMTP error that occurs on WordPress sites. It indicates that your site was unable to establish a connection with the SMTP server you configured.

The error can occur due to a variety of reasons. The most common causes are incorrect SMTP settings, firewall restrictions, or server downtime.

To learn more about troubleshooting this error, be sure to check out our guide on [fixing the could not connect to SMTP host error in WordPress](https://wpmailsmtp.com/how-to-fix-could-not-connect-to-smtp-host-in-wordpress/).

#### Can I use Outlook mail server to connect to the Other SMTP mailer?

No. Microsoft disabled authentication with username and password for Outlook mailboxes. This means you won’t be able to connect Microsoft’s email API through the Other SMTP mailer. We suggest using our dedicated Outlook mailer to connect your site. Please see our tutorial on [using the Microsoft 365 / Outlook.com mailer](https://wpmailsmtp.com/docs/how-to-set-up-the-outlook-mailer-in-wp-mail-smtp/ "Microsoft 365 / Outlook.com").

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](https://wpmailsmtp.com/docs/how-to-set-up-email-logging/ "How to Set Up Email Logging") so you can always see what emails have been sent.

**Categories:** Mailers

---

