Pro tip: Can the new SMTP plugin send through Gmail and Outlook? Graphic featuring email, Gmail, and Outlook icons.

Can the New SMTP Plugin Send Through Gmail and Outlook?

Summarize:ChatGPTPerplexity

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.

Fix Your WordPress Emails Now

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 typeWorks with the SMTP plugin?What you needWhat changes
Gmail (personal)Yes2-Step Verification and an app passwordApp passwords stop working if you change your Google password
Google WorkspaceYesAn app password your admin’s settings let you create2,000 emails a day through smtp.gmail.com
Microsoft 365Until SMTP AUTH turns offSMTP AUTH turned on for the mailboxOff by default for existing tenants from the end of December 2026
Outlook.com or HotmailNoA sign-in (OAuth) mailer insteadPassword 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. 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

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

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 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 from apps. Our post on Gmail’s less secure apps change 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 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 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 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”. It prefers apps that use Google sign-in.

Our post on how many emails Gmail lets you send 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 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:

  • 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

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

Enable One-Click Microsoft Email Connection

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:

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 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 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 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 next. It compares setup, mailers, logs, alerts, and pricing round by round.

Fix Your WordPress Emails Now

Ready to fix your emails? Get started today 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 and Twitter for more WordPress tips and tutorials.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPForms is funded, why it matters, and how you can support us.

David Ozokoye

David is a technical writer at WP Mail SMTP. He tests and documents new features and updates to the WP Mail SMTP plugin. Away from the computer, he enjoys playing video games and roller skating. Learn More

Try our Free WP Mail SMTP plugin

Use your favorite SMTP provider to reliably send your WordPress emails.