### [Can the New SMTP Plugin Send Through Gmail and Outlook?](https://wpmailsmtp.com/smtp-plugin-gmail-outlook/)

**Published:** December 4, 2026
**Author:** David Ozokoye

**Excerpt:** Just installed the new SMTP plugin from WordPress.org?

Learn whether it can send WordPress emails through Gmail, Workspace, Microsoft 365, and Outlook.com.

This guide covers app passwords, the exact settings, Microsoft's December 2026 SMTP AUTH change, and sign-in mailers that avoid it.

**Content:**

Just installed the new SMTP plugin and wondering if it’ll send through Gmail or Outlook? Short answer: Gmail works with an app password. Microsoft 365 works only until SMTP AUTH turns off.

SMTP, the new community-maintained plugin on WordPress.org, signs in with a username and password only. That’s fine for Gmail. But Microsoft 365 turns password sign-in off by default in late December 2026.

In this guide, I’ll walk you through using the SMTP plugin with Gmail and Outlook.

- [Gmail, Microsoft 365 and Outlook.com at a Glance](#aioseo-gmail-microsoft-365-and-outlookcom-at-a-glance)
- [How the SMTP Plugin Signs In to Gmail and Outlook](#aioseo-how-the-smtp-plugin-signs-in-to-gmail-and-outlook)
- [Using the SMTP Plugin With Gmail or Google Workspace](#aioseo-using-the-smtp-plugin-with-gmail-or-google-workspace)
- [Using the SMTP Plugin With Microsoft 365](#aioseo-using-the-smtp-plugin-with-microsoft-365)
- [Outlook.com and Hotmail Accounts](#aioseo-outlookcom-and-hotmail-accounts)
- [Sending Through Gmail or Outlook With a Sign-In Instead](#aioseo-sending-through-gmail-or-outlook-with-a-sign-in-instead)
- [When a Transactional Email Service Is the Better Fix](#aioseo-when-a-transactional-email-service-is-the-better-fix)
- [Troubleshooting SMTP Plugin Login Errors](#aioseo-troubleshooting-smtp-plugin-login-errors)
- [Frequently Asked Questions](#faqs)

[Fix Your WordPress Emails Now](https://wpmailsmtp.com/pricing/)

## Gmail, Microsoft 365 and Outlook.com at a Glance

The SMTP plugin works with Gmail and Google Workspace through an app password. It works with Microsoft 365 while SMTP AUTH stays on. It doesn’t work with Outlook.com.

Here’s the quick view for SMTP 1.2.0, the version I tested for this guide:

| Account type | Works with the SMTP plugin? | What you need | What changes |
|---|---|---|---|
| Gmail (personal) | Yes | 2-Step Verification and an app password | App passwords stop working if you change your Google password |
| Google Workspace | Yes | An app password your admin’s settings let you create | 2,000 emails a day through `smtp.gmail.com` |
| Microsoft 365 | Until SMTP AUTH turns off | SMTP AUTH turned on for the mailbox | Off by default for existing tenants from the end of December 2026 |
| Outlook.com or Hotmail | No | A sign-in (OAuth) mailer instead | Password logins ended on September 16, 2024 |

## How the SMTP Plugin Signs In to Gmail and Outlook

The SMTP plugin signs in to Gmail and Outlook with a username and password only. There’s no “Sign in with Google” or “Sign in with Microsoft” button.

**Pro Tip**: One-click sign-in is available with the [WP Mail SMTP paid plugin](https://wpmailsmtp.com/pricing/). It skips the entire app creation and OAuth setup that Google and Microsoft usually require.

On the plugin’s **Settings** tab, you’ll need to turn on **Authentication** and enter your credentials in the **Username** and **Password** fields.

![SMTP plugin Settings tab filled in for Gmail with smtp.gmail.com and port 587](https://wpmailsmtp.com/wp-content/uploads/2026/12/img_01_smtp-plugin-gmail-settings.png "SMTP Plugin Gmail Settings")That’s called basic authentication. Your site sends the same password every time it connects.

The newer method is OAuth. You’ll only need to sign in once on Google’s or Microsoft’s page. Your site then gets a token instead of your password.

![Password login with the SMTP plugin vs OAuth sign-in with a mailer](https://wpmailsmtp.com/wp-content/uploads/2026/12/img_02_password-vs-oauth-sign-in.png "Password vs OAuth Sign-In")## Using the SMTP Plugin With Gmail or Google Workspace

The SMTP plugin works with Gmail when you use an app password. Google doesn’t accept your normal password for apps like this.

### Creating a Gmail App Password

You’ll create the app password in your Google account first:

1. Make sure 2-Step Verification is on. App passwords don’t exist without it.
2. Go to `myaccount.google.com/apppasswords` and sign in.
3. Type a name like “WordPress site” and create the password, if you see the option.
4. Copy the 16-character code Google shows you.

**Note:** You might not see App passwords at all. Google hides it with security-key-only 2-Step Verification, Advanced Protection, and some work accounts. [Google’s app password help page](https://support.google.com/accounts/answer/185833) lists these cases.

Google Workspace accounts follow the same steps. Your admin’s 2-Step Verification and security settings must let you create one, though.

Since May 1, 2025, [Workspace no longer accepts plain password sign-ins](https://knowledge.workspace.google.com/admin/gmail/send-email-from-a-printer-scanner-or-app) from apps. Our post on [Gmail’s less secure apps change](https://wpmailsmtp.com/gmail-less-secure-apps/) explains what that means for WordPress.

### Gmail Settings for the SMTP Plugin

Go to **Tools » SMTP** in your WordPress dashboard and open the **Settings** tab. Then enter these values:

```

Host:            smtp.gmail.com
Port:            587
Encryption:      TLS (STARTTLS)
Authentication:  On
Username:        your full Gmail or Workspace address
Password:        the 16-character app password
From email:      the same address (or a verified Gmail alias)
```

Our guide to [Gmail’s SMTP server settings](https://wpmailsmtp.com/how-to-send-emails-google-smtp-server/) lists every port option.

Save your settings. Then open the **Test** tab and send a test email to your own inbox.

Want emails to show a different address? Set it up as a Gmail alias first. Our guide to [sending from a Gmail alias](https://wpmailsmtp.com/gmail-send-from-alias-wp-mail-smtp/) walks through it.

### Gmail Sending Limits and Other Catches

Gmail works, but a mailbox isn’t built for website email. Keep these limits in mind:

- **Daily caps**: [Google’s sending limits](https://support.google.com/mail/answer/22839) cap a free Gmail account at 500 emails a day. Workspace allows 2,000 a day through `smtp.gmail.com`.
- **Password changes**: Google revokes every app password when you change your Google password. Your site stops sending until you create a new one.
- **Google’s own advice**: Google says app passwords [“aren’t recommended”](https://support.google.com/accounts/answer/185833). It prefers apps that use Google sign-in.

Our post on [how many emails Gmail lets you send](https://wpmailsmtp.com/gmail-how-many-emails-can-you-send-at-once/) breaks these caps down.

That password point catches a lot of people. I’d turn on the SMTP plugin’s Slack alerts so you hear about failures right away.

**Pro Tip:** The free **Email log** keeps each email’s status and error for 30 days. Check it whenever a form goes quiet.

## Using the SMTP Plugin With Microsoft 365

The SMTP plugin works with Microsoft 365 while SMTP AUTH is on for your mailbox. Microsoft turns it off by default at the end of December 2026.

### Why It Works Until SMTP AUTH Turns Off

Many Microsoft 365 tenants still allow password logins over SMTP. Microsoft calls this SMTP AUTH.

Use these values on the plugin’s **Settings** tab:

```

Host:            smtp.office365.com
Port:            587
Encryption:      TLS (STARTTLS)
Authentication:  On
Username:        your full Microsoft 365 email address
Password:        that mailbox's password
From email:      the same address
```

There are 2 catches, even now. [Microsoft’s SMTP AUTH guide](https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission) says the mailbox needs **Authenticated SMTP** turned on.

It also says that **security defaults** already turn SMTP AUTH off. If your tenant uses them, the plugin can’t sign in at all.

### What Changes at the End of December 2026

Microsoft is retiring password logins over SMTP in stages. Here’s the timeline from [Microsoft’s January 2026 update](https://techcommunity.microsoft.com/blog/exchange/updated-exchange-online-smtp-auth-basic-authentication-deprecation-timeline/4489835):

- **Through December 2026**: password logins keep working as they do today.
- **Late December 2026**: existing tenants get password logins switched off. An admin can switch them back on.
- **Tenants set up after that**: password logins are off from day one.
- **Second half of 2027**: Microsoft plans to name the date it removes them completely.

![Microsoft SMTP AUTH basic authentication timeline for Microsoft 365 and Outlook.com](https://wpmailsmtp.com/wp-content/uploads/2026/11/outlook-smtp-basic-authentication-error-smtp-auth-timeline.png "Microsoft SMTP AUTH Timeline")When the switch flips, Microsoft rejects the plugin’s login. You’ll often see `535 5.7.139` in the connection log.

## Outlook.com and Hotmail Accounts

Personal Outlook.com and Hotmail accounts don’t work with the SMTP plugin. Since September 16, 2024, these accounts no longer accept password logins from other apps.

[Microsoft’s support notice](https://support.microsoft.com/en-US/support/known-issues/modern-authentication-methods-now-needed-to-continue-syncing-outlook-email-in-non-microsoft-email-ap) says this covers SMTP too. Microsoft refuses password-based logins from your site.

Does your site send from an `@outlook.com` or `@hotmail.com` address? Use a mailer that signs in with Microsoft.

## Sending Through Gmail or Outlook With a Sign-In Instead

To skip passwords, use a mailer that signs in with OAuth. WP Mail SMTP has one for each.

- **Gmail mailer (free in WP Mail SMTP Lite)**: connects with your own Google app. No app password needed. **One-Click Setup** skips the Google app step, and it’s a Pro feature.
- **365 / Outlook mailer (Pro)**: signs in with Microsoft and sends through Microsoft’s API. Microsoft’s SMTP AUTH change doesn’t affect it, and it works with Microsoft 365 and Outlook.com.

![WP Mail SMTP mailer grid showing the Google / Gmail and 365 / Outlook mailers](https://wpmailsmtp.com/wp-content/uploads/2026/12/img_04_wpms-gmail-outlook-mailers.png "WP Mail SMTP Gmail and Outlook Mailers")[Enable One-Click Microsoft Email Connection](https://wpmailsmtp.com/pricing/)

**Heads up**: WP Mail SMTP’s **Other SMTP** mailer also requires a password. So it has the same Microsoft problem as the SMTP plugin. This is why I recommend using a WordPress SMTP plugin like WP Mail SMTP that includes API-based mailer setup.

Our docs cover each setup step by step:

- [Setting up the Gmail mailer](https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/)
- [Setting up the 365 / Outlook mailer](https://wpmailsmtp.com/docs/how-to-set-up-the-outlook-mailer-in-wp-mail-smtp/)

Switching from the SMTP plugin takes a few minutes. WP Mail SMTP currently has no settings importer. You’ll pick a mailer and sign in fresh.

## When a Transactional Email Service Is the Better Fix

Does your site send receipts, password resets, or form notifications every day? Then a transactional email service is the better fix.

It’s built for website email. Gmail and Outlook are built for people.

A service like SendLayer gives you a few things a mailbox can’t:

- **No mailbox password to break**: it uses its own SMTP login or API key.
- **Domain authentication**: you verify your domain with SPF, DKIM, and DMARC records.
- **Delivery tracking**: you can see when each email is delivered, opened, or bounced.

SendLayer works with both plugins. In the SMTP plugin, you’d use SendLayer’s SMTP login. SendLayer’s guide to [using SendLayer with the SMTP plugin](https://sendlayer.com/blog/how-to-use-sendlayer-with-the-wordpress-smtp-plugin/) covers it.

In WP Mail SMTP, the **SendLayer** mailer is free in Lite. It sends through SendLayer’s API, so there’s no password at all.

## Troubleshooting SMTP Plugin Login Errors

Most Gmail and Outlook problems with the SMTP plugin come down to the login. Here’s how to fix the common ones.

### The Server Rejected the Login

This means Gmail or Microsoft refused your username or password. When it happens, the **Test** tab shows this hint:

> The server rejected the login. Check the username and password. Many providers need a separate SMTP login and SMTP key or app password, and an API key or your account password will not work.

For Gmail, paste your app password, not your Google password. For Microsoft 365, check that **Authenticated SMTP** is on for the mailbox.

### 535 5.7.139 From Microsoft 365

Microsoft sends `535 5.7.139` when SMTP AUTH is off for your tenant or mailbox. Turn it back on, as shown above, or switch to a sign-in mailer.

Our guide to [fixing Outlook’s basic authentication error](https://wpmailsmtp.com/microsoft-outlook-smtp-how-to-fix-basic-authentication-error/) covers this error in depth.

### App Passwords Are Missing in Your Google Account

Google hides app passwords when 2-Step Verification is off. It also hides them for security-key-only 2-Step Verification, Advanced Protection, and some work accounts.

Turn on 2-Step Verification first. On a Workspace account, ask your admin to check the security settings.

### Emails Fail With Both Plugins Active

Don’t keep the SMTP plugin and WP Mail SMTP active together. On my test site, their settings got mixed and emails failed.

Deactivate the SMTP plugin once WP Mail SMTP is set up. Then send a new test email.

## Frequently Asked Questions

Here are quick answers to common questions about the SMTP plugin with Gmail and Outlook.

### Can I use my normal Gmail password with the SMTP plugin?

No, Google blocks your normal password for apps like this. Turn on 2-Step Verification and create an app password. Then paste that 16-character code into the Password field.

### Will my WordPress emails stop when Microsoft turns off SMTP AUTH?

Yes, if the SMTP plugin sends through a Microsoft 365 mailbox. Once SMTP AUTH is off, its login fails. Your admin can turn it back on for now. Or switch to a Microsoft sign-in mailer.

### Does the SMTP plugin support Sign in with Google or Microsoft?

Not in version 1.2.0, which only supports a username and password. [The plugin’s announcement](https://make.wordpress.org/plugins/2026/11/16/introducing-smtp-a-community-maintained-way-to-send-wordpress-email-reliably/) calls API sending “the next big step.” It doesn’t mention OAuth sign-in.

### Can I move my SMTP plugin settings to WP Mail SMTP?

Not automatically, because WP Mail SMTP 4.10.4 has no importer for it. You’ll choose a mailer in the setup wizard and connect it. That takes a few minutes.

## Next, Compare WP Mail SMTP and the SMTP Plugin

Still deciding which plugin to keep? I’d read our [WP Mail SMTP vs SMTP comparison](https://wpmailsmtp.com/wp-mail-smtp-vs-smtp-plugin/) next. It compares setup, mailers, logs, alerts, and pricing round by round.

[Fix Your WordPress Emails Now](https://wpmailsmtp.com/pricing/)

Ready to fix your emails? [Get started today](https://wpmailsmtp.com/pricing) with the best WordPress SMTP plugin. If you don’t have the time to fix your emails, you can get full White Glove Setup assistance as an extra purchase, and there’s a 14-day money-back guarantee for all paid plans.

If this article helped you out, please follow us on [Facebook](https://facebook.com/wpmailsmtp) and [Twitter](https://twitter.com/wpmailsmtp) for more WordPress tips and tutorials.

**Categories:** WordPress Tutorials

**Tags:** gmail smtp, microsoft smtp, smtp plugin, WordPress email deliverability

---

