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.
Solide Wahl
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.
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (20+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- Benötigt PHP 8.1 oder neuer
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Lean SMTP stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| >100 | |
| versenden | >100 |
| SES | >100 |
| SMTP | >100 |
| wp_mail | #97 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About Lean SMTP
From the official readme · v0.7.0Beschreibung
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 testandwp 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.
Externe Dienste
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.netorapi.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.comand sends togmail.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
- Upload the plugin and activate it.
- Go to Lean SMTP → Settings.
- Choose a mailer and fill in the connection details.
- Set your From Email and From Name.
- 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.
Änderungsprotokoll
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.
Screenshots
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Lean SMTP alternatives
Alle E-Mail-Plugins →Fragen und Antworten
Lean SMTP: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: 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).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
