🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Lean SMTP icon
Actively maintained Tested with WP 7.1

Lean SMTP

Lean SMTP makes WordPress send its mail through a real mail service instead of the host’s default PHP mail, which improves deliverability. It is deliberately small: a handful of transports and a handful of settings.

Active installs20+10+ tier
Downloads · 30d127▼ -48.2% vs prev. 30d
Rating—0 reviews
Health score63/100Good
All-time downloads674Since Jul 2026
Support resolved—No recent threads
RequiresWP 6.0PHP 8.1+
Downloads · 7d33▼ -10.8% week over week
Our verdict

Solid choice

Lean SMTP is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites and was last updated 1 month ago, and scores 63/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (20+ active installs)
  • Very few reviews so far
  • Needs PHP 8.1 or newer

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

91928Sep 3Oct 17Dec 1
Yesterday5
Daily average (1y)5
Peak day38Oct 14, 2026
Last 12 months680

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Lean SMTP stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
email >100 10,000 Best email plugins →
mail >100 5,660 Best mail plugins →
SES >100 1,242 Best SES plugins →
smtp >100 1,939 Best smtp plugins →
wp_mail #97 1,193 Best wp_mail plugins →

Version adoption

Share of active sites per release.

  • 0.7100.0%

About Lean SMTP

From the official readme · v0.7.0

Description

Lean SMTP makes WordPress send its mail through a real mail service instead of the host’s default PHP mail, which improves deliverability. It is deliberately small: a handful of transports and a handful of settings.

Everything is free. There is no pro version, no paid add-ons, no locked features, no account to create, and no upsell banners in the admin. Every mailer, the send log, the failure alerts, WP-CLI, offline mode and encrypted credential storage are all in this plugin, for everyone. Nothing phones home. The plugin sends no telemetry or usage data anywhere, and it makes no network requests other than delivering your mail to the provider you configured.

Website: https://leansmtp.com

Every provider below also offers plain SMTP, so the SMTP transport alone covers all of them. The API transports exist for hosts that block outbound mail ports (25/465/587), which is common on shared hosting and some managed platforms.

  • SMTP: any host/port with TLS, SSL, or no encryption, optional username/password.
  • Amazon SES (API): the SES v2 API, signed with a hand-rolled AWS Signature V4 signer, so no AWS SDK is bundled.
  • Mailgun (API): US or EU region, sending the message as MIME so attachments and formatting survive untouched.
  • Resend (API): a single API key, nothing else to configure.
  • Gmail / Google Workspace (API): for Workspace domains, with two ways to authenticate. A service account with domain-wide delegation (a short-lived JWT signed in-plugin, no consent screen and no refresh tokens), or OAuth2 where you authorize a single mailbox in the browser instead of needing a Super Admin to set up delegation. Either way the plugin sends through the Gmail API with no bundled Google SDK. (Consumer @gmail.com accounts are not supported; use SMTP with an App Password for those.)
  • Offline: record every message and send nothing, for staging sites that must never mail real customers. wp_mail() still reports success, so plugins behave exactly as they would in production.
  • From identity: set the From name and address, and optionally force them over anything another plugin sets.
  • Reply-To: a site-wide default for replies, useful when the From address is a no-reply. A Reply-To the message set itself is always kept.
  • wp-config.php overrides: pin any setting in code instead of the database, so credentials can live in environment variables and never diverge between environments.
  • Failure alerts: an admin notice when mail stops going out, so a broken mailer isn’t discovered via missed password resets. It clears itself once mail works again.
  • WP-CLI: wp lean-smtp test and wp lean-smtp status.
  • Test email: a button on the settings page to confirm your configuration works.
  • Send log: optional. Records each send (recipient, subject, result) on an Email Log screen with paging, a status filter, search, and per-row or bulk delete. Stored in your own database and never sent anywhere. The message headers, attachment filenames and body can each be recorded too, behind their own settings and off by default.
  • Encrypted secrets: stored passwords and API keys are AES-256 encrypted, keyed to your site salts.

Deliberately not included: consumer-Gmail and Microsoft 365 OAuth. Using the gmail.send scope with a consumer (external) app would require Google’s app-verification / security-assessment process, or it hands out refresh tokens that expire after a week — more machinery than the rest of this plugin combined. The Workspace OAuth that does ship sidesteps that because it uses an Internal consent screen, which needs no verification and issues lasting refresh tokens. For a consumer @gmail.com account, use SMTP with an app password.

Configuring in wp-config.php

Any setting can be defined as a constant instead of saved in the database. The constant name is the option name in upper case, and it always wins. The settings page shows the field as read-only and names the constant, so what you see is always what is in force. Removing the constant restores whatever was saved before.

define( 'LEAN_SMTP_MAILER', 'ses' );
define( 'LEAN_SMTP_FROM_EMAIL', 'noreply@example.com' );
define( 'LEAN_SMTP_SES_REGION', 'us-east-1' );
define( 'LEAN_SMTP_SES_ACCESS_KEY', 'AKIA…' );
define( 'LEAN_SMTP_SES_SECRET_KEY', getenv( 'SES_SECRET_KEY' ) );

Secrets defined this way are used as-is and are never written to the database. Run wp lean-smtp status to see every setting and where it came from.

External services

Lean SMTP sends email through whichever mail service you configure. The plugin connects to a provider’s HTTPS API only when you have selected an API transport and your site sends mail. It then transmits the message being sent (recipients, subject, body, headers, and any attachments) along with the credentials you entered, so the provider can authenticate the request and deliver the message. Nothing is sent until you configure and select a transport, and the plugin contacts no other services: there is no telemetry, tracking, or analytics.

The provider you choose is the data controller for the mail you route through it. Review its terms and privacy policy:

  • Amazon SES: sends to email.{region}.amazonaws.com. Terms: https://aws.amazon.com/service-terms/ · Privacy: https://aws.amazon.com/privacy/
  • Mailgun: sends to api.mailgun.net or api.eu.mailgun.net. Terms: https://www.mailgun.com/legal/terms/ · Privacy: https://www.mailgun.com/legal/privacy-policy/
  • Resend: sends to api.resend.com. Terms: https://resend.com/legal/terms-of-service · Privacy: https://resend.com/legal/privacy-policy
  • Gmail / Google Workspace: authenticates at oauth2.googleapis.com and sends to gmail.googleapis.com. Terms: https://workspace.google.com/terms/premier_terms/ · Privacy: https://policies.google.com/privacy

The SMTP transport connects only to the host you configure and bundles no third-party service. The Offline mailer connects to nothing at all: messages are written to the local send log and never leave your server.

Installation

  1. Upload the plugin and activate it.
  2. Go to Lean SMTP → Settings.
  3. Choose a mailer and fill in the connection details.
  4. Set your From Email and From Name.
  5. Save, then use “Send a Test Email” to confirm it works.

For Amazon SES: create an IAM user limited to ses:SendRawEmail/ses:SendEmail, verify your From address (or domain) in the SES console, and, if your account is still in the SES sandbox, verify the recipient too.

For Mailgun: use the sending domain exactly as it appears in your Mailgun dashboard, and pick the region matching the account the key was issued in. A US key is not valid against the EU stack.

For Resend: create an API key with send permission and verify your From domain.

For Gmail / Google Workspace (service account): in Google Cloud, create a service account and enable the Gmail API, then have a Workspace Super Admin authorize the service account’s client ID for the https://www.googleapis.com/auth/gmail.send scope under Security → Access and data control → API controls → Domain-wide delegation. Paste the downloaded JSON key into the Service Account Key field and set “Send As” to the Workspace mailbox mail should come from. This works for Workspace domains only, not consumer @gmail.com accounts.

For Gmail / Google Workspace (OAuth): in Google Cloud, enable the Gmail API, set the OAuth consent screen’s user type to Internal, and create an OAuth client ID of type “Web application”. Copy the Redirect URI shown in the plugin into that client’s Authorized redirect URIs (it must match exactly), then paste the client ID and secret into the plugin and click Connect to authorize the mailbox mail should come from. Workspace domains only; a Super Admin delegation step is not needed.

Changelog

0.7.0

  • Multisite: when the plugin is network-activated, mail is configured once under Network Admin → Lean SMTP and forced on every site on the network. Subsites show only the Email Log (their own sends); they have no separate mail settings. A single-site install, or a multisite install activated per-site, is unchanged. wp-config.php constants still override, now network-wide.

0.6.0

  • Added a second Gmail / Google Workspace transport that authenticates with OAuth2 instead of a service account. You authorize one mailbox in the browser rather than needing a Super Admin to set up domain-wide delegation. Create an OAuth client in Google Cloud with the consent screen set to Internal, paste its ID and secret, and click Connect. Workspace domains only — consumer @gmail.com is not supported.
  • The send log now shows the provider’s message ID for each API send, which helps when tracing a message with your provider.
  • The send log can now expire entries by age (7, 30, 90 or 365 days) in addition to the existing row-count limit, so old message content doesn’t linger. Off by default.
  • Inline images now work when sending through Amazon SES, Mailgun, Resend and Gmail..

0.5.0

  • Added a Gmail / Google Workspace transport (API). Authenticates as a service account with domain-wide delegation — a JWT signed in-plugin and exchanged for a short-lived access token, with no OAuth consent flow, no refresh tokens and no bundled Google SDK — and sends through the Gmail API. Workspace domains only.

0.4.1

  • Update dependencies.

0.4.0

  • Lean SMTP now has its own top-level admin menu, with Settings and Email Log as separate screens. The old Settings → Lean SMTP address redirects to the new one, so existing bookmarks keep working.
  • The send log has moved to a screen of its own and is now a proper list: paging, a status filter (sent / failed / offline) with counts, search by recipient or subject, per-row and bulk delete, and an adjustable rows-per-page. Recorded message content still expands in place under its row.
  • Added a log retention setting: keep the newest 100, 500, 1,000 or 5,000 entries. The default is unchanged at 100, and it can be pinned in wp-config.php as LEAN_SMTP_LOG_RETENTION like any other setting.

0.3.1

  • Stored passwords and API keys are no longer passed through sanitize_text_field(), which strips characters that are perfectly legal in a credential (angle brackets, percent-encoded sequences) and could leave a saved secret that no longer authenticates. Only control characters are removed now. If your password or API key contains such characters, re-enter it.

Full changelog on WordPress.org →

Screenshots

Settings: pick a mailer (including Offline, which records mail without sending it), set the From identity and Reply-To, configure the transport, and choose how much of each message the log keeps.
Settings: pick a mailer (including Offline, which records mail without sending it), set…
Amazon SES: region and IAM access key. The secret key is stored encrypted and never shown.
Amazon SES: region and IAM access key. The secret key is stored encrypted and never shown.
Mailgun: sending domain, US/EU region, and API key.
Mailgun: sending domain, US/EU region, and API key.
Resend: a single API key.
Resend: a single API key.
Gmail / Google Workspace: the sender mailbox and either the service-account key or the OAuth client secret and refresh token, all stored encrypted and never shown.
Gmail / Google Workspace: the sender mailbox and either the service-account key or the…

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Lean SMTP alternatives

All email plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP Mail SMTP by WPForms – SMTP for Reliable Email Delivery with Gmail, Outlook, Amazon SES, Brevo, Other SMTP & More WP Mail SMTP by WPForms Make email delivery easy for WordPress. Connect with SMTP, Gmail, Brevo, SendGrid, Amazon… by Syed Balkhi 4M+ ★★★★★★★★★★ 4.8 (5.2K) 1 week ago 96
2 MC4WP: Mailchimp for WordPress MC4WP: Mailchimp for WordPress The #1 Mailchimp plugin for WordPress. Allows you to add a multitude of newsletter sign-up… by Danny van Kooten 1M+ ★★★★★★★★★★ 4.8 (1.5K) 4 weeks ago 92
3 Easy WP SMTP – WordPress SMTP and Email Logs: Gmail SMTP, Office 365, Outlook, Custom SMTP, and more Easy WP SMTP Make SMTP email sending and delivery easy. Configure Gmail SMTP, Outlook, Brevo, SendGrid… by Syed Balkhi 500K+ ★★★★★★★★★★ 4.6 (710) 4 months ago 85
4 WP Mail Logging WP Mail Logging Log, view, and resend all emails sent from your WordPress site. Great for resolving email… by Syed Balkhi 300K+ ★★★★★★★★★★ 4.7 (382) 2 months ago 92
5 Mailchimp for WooCommerce Mailchimp for WooCommerce Connect your store to your Mailchimp audience to track sales, create targeted emails, send… by Mailchimp 200K+ ★★★★★★★★★★ 4 (726) 2 weeks ago 88
6 Site Mailer – SMTP Replacement, Email API Deliverability & Email Log Site Mailer Effortlessly manage transactional emails with Email Deliverability. High deliverability… by Elementor 200K+ ★★★★★★★★★★ 2.5 (17) 1 week ago 61
7 SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers SureMail SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers by Brainstorm Force 200K+ ★★★★★★★★★★ 4.7 (25) 7 days ago 80
8 Manage Notification E-mails Manage Notification E-mails Enable and disable email notifications that WordPress sends to the admin and user. Works… by 3D Virge 100K+ ★★★★★★★★★★ 4.8 (56) 2 months ago 76
9 Klaviyo Klaviyo Klaviyo for WooCommerce by klaviyo 100K+ ★★★★★★★★★★ 2.8 (24) 1 month ago 69
10 Check & Log Email – Easy Email Testing & Mail logging Check & Log Email – Easy Email Testing & Mail logging Check & Log email allows you to test if your website is correctly sending emails… by checkemail 90K+ ★★★★★★★★★★ 4.8 (293) 1 week ago 80

FAQ

Lean SMTP: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Lean SMTP free?

Yes. Lean SMTP is free to download and use from the official WordPress.org plugin directory.

Is Lean SMTP safe to use in 2026?

Lean SMTP is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites and was last updated 1 month ago, and scores 63/100 on our health check.

How many websites use Lean SMTP?

Lean SMTP is active on 20+ WordPress websites and has been downloaded 674 times since it launched in July 2026. It was downloaded 127 times in the last 30 days.

Does Lean SMTP work with WordPress 7.1?

Yes. The developer has tested Lean SMTP up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.

What PHP version does Lean SMTP need?

Lean SMTP requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Lean SMTP last updated?

The latest version, 0.7.0, was released on October 19, 2026 (1 month ago).

Who makes Lean SMTP?

Lean SMTP is developed and maintained by pjaudiomv.

What are the best alternatives to Lean SMTP?

The most popular alternatives to Lean SMTP are WP Mail SMTP by WPForms (4M+ installs), MC4WP: Mailchimp for WordPr… (1M+ installs) and Easy WP SMTP (500K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open