Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Plugin how-tos · Explainer

What Is WP Mail SMTP? The WordPress Email Delivery Plugin Explained

What Is WP Mail SMTP? The WordPress Email Delivery Plugin Explained

Short answer

WP Mail SMTP is a WordPress plugin that changes how your site sends email. Instead of relying on the server's PHP mail function, it sends messages through an authenticated SMTP server or an email service's API, such as Gmail, Microsoft 365, Brevo or Amazon SES. This makes form notifications, password resets and order emails far more likely to reach the inbox.

Key takeaways

  • WP Mail SMTP sends WordPress email through a real mail service.
  • It fixes many emails that never arrive or land in spam.
  • It supports SMTP and API connections to popular providers.
  • A test email tool confirms setup before you rely on it.
  • Pair it with SPF, DKIM and DMARC records for the best delivery.

What is WP Mail SMTP?

WP Mail SMTP is a free WordPress plugin, with a paid Pro version, that reconfigures WordPress to send every email through a proper mail provider instead of the web server's built-in mail function.

The official WP Mail SMTP plugin page lists its supported mailers and features.

It is one of the most widely installed email plugins for WordPress.

It does not change what emails are sent. It changes how they are delivered.

It is made by the same company behind WPForms, but it works with any form, store or plugin that sends email through WordPress.

Why does WordPress need an SMTP plugin?

By default WordPress hands emails to PHP's mail function, which many hosts limit or block and many inboxes distrust because the messages lack proper authentication.

The wp_mail reference shows how WordPress builds every email before sending.

Common symptoms are contact form emails that never arrive, password reset emails stuck in spam and missing order notifications.

Some hosts disable PHP mail entirely to stop spam from hacked sites, which makes every site email fail silently.

Our guide on WordPress email settings explains why core has no sender or SMTP options.

How does WP Mail SMTP work?

It hooks into WordPress mail so every message, from any plugin, goes through the mailer you choose, using your account's login or API key to authenticate.

SMTP is the standard protocol for sending email, defined in RFC 5321.

API-based mailers send email over HTTPS instead, which can be faster and avoids blocked mail ports on some hosts.

Forms, WooCommerce, membership and backup plugins all benefit automatically.

Because it works at the WordPress level, you set it up once rather than in every plugin.

Which mail providers does it support?

It supports general SMTP for almost any provider plus dedicated integrations for popular services such as Google Workspace and Gmail, Microsoft 365 and Outlook, Brevo, Mailgun, SendGrid, Postmark and Amazon SES.

Some integrations are only in the Pro version. Check the current list on the WP Mail SMTP website.

Transactional email services are built for site emails such as receipts and resets.

Using your normal mailbox through SMTP can work for small sites, but sending limits may apply.

Check your provider's daily sending limit. A busy store can hit it quickly with order and shipping emails.

How do you set up WP Mail SMTP?

Install the plugin, run the setup wizard, choose your mailer, enter the connection details or API key, set the From email and name, then send a test email.

Use a From address on your own domain that your provider is allowed to send for.

Set a Reply-To in your form plugin if replies should go to the visitor, so you can answer them directly from your inbox.

The Force From Email option makes every plugin use the same sender, which helps deliverability.

Our guide on setting up SMTP in WordPress walks through the general process step by step.

How do you test it?

Use the Email Test tool in the plugin's tools section to send a message to an address you control, then check that it arrives in the inbox, not spam.

If the test fails, the plugin shows a debug message explaining what went wrong, such as wrong credentials or a blocked port.

Run the test again after any change to DNS, passwords or mail provider settings.

Our guide on fixing SMTP could not authenticate covers the most common error.

What does the Pro version add?

The Pro version adds features such as a detailed email log, resending failed emails, reports, backup connections and some additional mailers.

An email log shows what was sent, when and to whom. That is valuable when customers say they never received an email.

Logs store personal data such as email addresses, so set a retention period that fits your privacy policy.

Free is enough for many small sites. Consider Pro when email is critical, such as for stores and membership sites.

Compare current plans on the vendor's site before buying.

Does WP Mail SMTP fix spam problems?

It helps a lot, but inbox placement also depends on DNS authentication records, your sending reputation and the content of your emails.

Set up SPF, DKIM and DMARC for your domain. The DMARC.org overview explains how they work together.

Our guide on setting up SPF, DKIM and DMARC for WordPress email gives step-by-step examples.

Avoid sending from free mailbox addresses on your site. They fail authentication when sent from your server.

What if emails still do not arrive?

Check the plugin's debug messages, confirm the mailer connection, verify the From address, look at your provider's logs and make sure no other plugin overrides mail settings.

Our troubleshooting guide for WordPress not sending emails works through the full checklist.

Two SMTP plugins at once can conflict. Keep only one active.

Hosting firewalls can block outgoing SMTP ports. API mailers avoid this problem.

Ask your host which ports are open if SMTP connections time out. Ports 587 and 465 are the usual choices.

Is WP Mail SMTP safe?

It is widely used and maintained, but it stores mail credentials, so keep it updated, use app passwords or API keys instead of your main password, and limit admin access.

OAuth connections for Google and Microsoft avoid storing your mailbox password.

The plugin can store secrets as constants in wp-config.php instead of the database, which some teams prefer.

Rotate API keys if someone with access leaves your team.

Keep the provider account protected with two-factor authentication. Anyone who controls it can send email as your domain.

What are the alternatives?

Other options include FluentSMTP, Post SMTP and host-provided mail services, as well as plugins from email providers themselves; all do a similar job of routing mail through a proper service.

Pick one that supports your provider and has the logging you need.

Switching later is easy. Your emails do not change, only the delivery method.

Deactivate the old plugin before configuring the new one, so only one plugin controls mail at a time.

Who should use WP Mail SMTP?

Any WordPress site that sends important email, such as forms, orders, bookings or password resets, should use an SMTP plugin like WP Mail SMTP.

Even small sites benefit. A missed contact form email can mean a lost customer or an unanswered support request.

Our guide on WPForms email settings shows how form notifications fit together with SMTP.

Frequently asked questions

What does WP Mail SMTP do?

It makes WordPress send all emails through an authenticated mail service, using SMTP or an API, instead of the server's PHP mail function, which improves delivery.

Is WP Mail SMTP free?

Yes, the core plugin is free on WordPress.org. The Pro version adds email logs, resending, reports, backup connections and some extra mailers.

Do I need WP Mail SMTP?

If your site sends forms, order emails or password resets, an SMTP plugin is strongly recommended, because default PHP mail often fails or lands in spam.

Which mailer should I choose in WP Mail SMTP?

Use your email provider if it is supported, or a transactional email service for stores and busy sites. API mailers avoid blocked SMTP ports.

Why do emails still go to spam with WP Mail SMTP?

Your domain may lack SPF, DKIM or DMARC records, the From address may not match your provider, or email content may trigger spam filters.

Sources

  1. WP Mail SMTP WordPress.org Plugins
  2. WP Mail SMTP WP Mail SMTP
  3. wp_mail() WordPress Developer Resources
  4. RFC 5321: Simple Mail Transfer Protocol RFC Editor
  5. Overview DMARC.org

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.