🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
SwiftTrap for Mailtrap icon
Actively maintained Tested with WP 7.1 #2 in Email API

SwiftTrap for Mailtrap

Send WordPress emails through the Mailtrap Email API (not SMTP). Bulk and transactional streams, categories, suppression list, email log.

Active installs10+10+ tier
Downloads · 30d222▲ +107.5% vs prev. 30d
Rating—0 reviews
Health score55/100Fair
All-time downloads1.2KSince Mar 2026
Support resolved0 / 10% in last 2 months
RequiresWP 6.0PHP 8.0+
Downloads · 7d137▲ 4.2× week over week
Our verdict

Use with caution

SwiftTrap for Mailtrap works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 6 days ago, and scores 55/100 on our health check.

  • Actively developed — last update 6 days ago
  • Tested with the latest WordPress (7.1)
  • Small user base (10+ active installs)
  • Very few reviews so far

How does it stack up?

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

Daily downloads

132740Sep 3Oct 17Dec 1
Yesterday5
Daily average (1y)5
Peak day54Nov 26, 2026
Last 12 months1.2K

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

Rankings

Where SwiftTrap for Mailtrap stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
Email API >100 10,000 Best Email API plugins →
email log >100 8,396 Best email log plugins →
mailtrap #3 17 Best mailtrap plugins →
transactional email >100 605 Best transactional email plugins →
wp-mail >100 4,609 Best wp-mail plugins →

Version adoption

Share of active sites per release.

  • 3.0100.0%

About SwiftTrap for Mailtrap

From the official readme · v3.1.1

Description

SwiftTrap is a drop-in replacement for wp_mail() that routes WordPress email through the Mailtrap Email Sending API instead of SMTP. It is purpose-built for Mailtrap — not a generic SMTP plugin with a Mailtrap preset — so it exposes Mailtrap-native features that SMTP cannot: bulk vs transactional stream routing, email categories, custom variables for tracking, suppression lists, and domain verification status.

Why HTTP API instead of SMTP?

  • Lower latency — one HTTPS call per message, no MAIL FROM / RCPT TO / DATA round-trips.
  • Better deliverability — Mailtrap routes API messages through its dedicated transactional and bulk streams; SMTP doesn’t expose stream selection.
  • Native categories — every email is automatically categorized (welcome, password-reset, notification, marketing, etc.) so you can filter and report on them in Mailtrap.
  • No firewall headaches — port 587/465 blocked? API works over standard HTTPS 443.

Why SwiftTrap and not WP Mail SMTP / Post SMTP

  • Most generic mailer plugins treat Mailtrap as one provider among many and send everything through a single stream.
  • SwiftTrap calls send.api.mailtrap.io for transactional mail and bulk.api.mailtrap.io for bulk mail — automatically: newsletters from Newsletter, FluentCRM, Icegram Express and Groundhogg are recognized, and anything else can be routed by category, header or filter.
  • No Mailtrap PHP SDK required. Plugin is ~30 KB total and uses only the WordPress HTTP API (wp_remote_post).
  • Stats page shows your sending domain verification status and the live suppression list (bounces, complaints, unsubscribes).

Features

  • Drop-in replacement for wp_mail() — works with WooCommerce, Contact Form 7, Gravity Forms, and any plugin that uses WordPress mail.
  • Newsletters through the bulk stream — one checkbox: campaign emails from Newsletter, FluentCRM, Icegram Express and Groundhogg go through Mailtrap’s bulk stream, everything else stays transactional. No setup in the newsletter plugin.
  • Automatic email categorization and stream routing overrides via settings grid.
  • Delivery Tracking & Webhooks — Real-time event tracking via custom REST route swifttrap/v1/webhook.
  • Suppression Management — CRUD panel for Mailtrap suppression lists with pre-send recipient suppression checks.
  • Backup delivery — if Mailtrap does not accept a message, WordPress can send it with its default mailer instead (on by default, can be switched off).
  • API token is never shown again after saving, and can be kept out of the database with the SWIFTTRAP_MAILTRAP_TOKEN constant in wp-config.php.
  • Site Health integration — Verification test checking Mailtrap token status and sending domain verification.
  • Live Email Log — Browse and filter delivery data pulled directly from the Mailtrap API; search by recipient address, status, or date range with automatic pagination.
  • WP-CLI commands — Command-line management via wp swifttrap (test, stats, prune-logs, send-suppression-sync).
  • Attachment size guard — Configurable limits to prevent oversized files from rejecting at the API gateway.
  • Test email to any address from the settings page, with the exact reason shown if Mailtrap refuses it.
  • Mailtrap template support via template_uuid.
  • Falls back to default WordPress mail handler when disabled or token is empty.

Extensible via filters

  • swifttrap_mailtrap_email_category — override the auto-detected email category.
  • swifttrap_mailtrap_use_bulk_stream — force a message into the bulk or transactional stream (receives the category, the settings and the email itself).
  • swifttrap_mailtrap_bulk_source — tell the plugin that an email comes from your own newsletter tool.
  • swifttrap_mailtrap_fallback_to_wp_mail — decide per message whether a refused email may go out through the default mailer.
  • Header X-SwiftTrap-Stream: bulk (or transactional) on any wp_mail() call picks the stream for that message; the header is never forwarded to the recipient.
  • swifttrap_mailtrap_template — send via a Mailtrap template by template_uuid.
  • swifttrap_mailtrap_custom_variables — attach tracking metadata to outgoing emails.

Privacy

This plugin sends email payloads (recipients, subject, body, attachments) to the Mailtrap API at send.api.mailtrap.io and bulk.api.mailtrap.io. Account stats and email logs are fetched from mailtrap.io/api/accounts and mailtrap.io/api/email_logs. See the Mailtrap Privacy Policy. No data is sent anywhere else.

Installation

  1. Install from Plugins → Add New and search for SwiftTrap for Mailtrap, or upload the swifttrap-for-mailtrap folder to /wp-content/plugins/.
  2. Activate the plugin.
  3. Go to Mailtrap → Settings.
  4. Paste your Mailtrap API token (Mailtrap → Settings → API Tokens) and click Check connection.
  5. Set the From email (an address on a domain you verified in Mailtrap) and the From name. Save.
  6. Click Send Test Email to verify delivery.
  7. Sending a newsletter from this site? Tick Send newsletters through the bulk stream.

Changelog

Compatibility update for WordPress 7.2 and PHP 8.6. No changes to how emails are sent.

3.1.1

  • Fix: the WP-CLI command file can no longer be loaded directly, outside WordPress.
  • Tested with WordPress 7.2 and PHP 8.6.

3.1.0

  • New: Send newsletters through the bulk stream — one checkbox on the settings screen. Campaign emails from Newsletter (The Newsletter Plugin), FluentCRM, Icegram Express and Groundhogg are recognized by their headers and sent through Mailtrap’s bulk stream; everything else, including signup confirmations, stays on the transactional stream. Off by default.
  • New: the X-SwiftTrap-Stream: bulk / transactional header picks the stream for one wp_mail() call. New swifttrap_mailtrap_bulk_source filter; swifttrap_mailtrap_use_bulk_stream now also receives the email.
  • New: the test email can be sent to any address, and shows the reason when Mailtrap refuses it. Before, a test that Mailtrap rejected could still say “sent” because the default mailer delivered it.
  • New: “Use the default WordPress mailer as a backup” setting and swifttrap_mailtrap_fallback_to_wp_mail filter.
  • New: the API token can be defined in wp-config.php (SWIFTTRAP_MAILTRAP_TOKEN). A saved token is no longer printed into the settings page; leave the field empty to keep it.
  • Fix: unticking “Send this site’s emails through Mailtrap”, the category options — any checkbox that is on by default — was not saved.
  • Fix: wp_mail() returned a truthy error object instead of false when an email had an invalid address, a missing attachment or only suppressed recipients, so the calling plugin believed it was sent.
  • Fix: wp_mail_from / wp_mail_from_name filters are applied to each message. They were read once per request, so a From address set by WooCommerce or a form plugin for its own email was ignored or leaked into other emails.
  • Fix: an address that unsubscribed from the bulk stream no longer stops transactional email (password resets, orders) to that address.
  • Fix: when the suppression list cannot be loaded, the check pauses for five minutes instead of adding slow API calls to every recipient of every email.
  • Fix: emails blocked by SWIFTTRAP_BLOCK_BULK were still delivered by the default mailer.
  • Fix: attachments work on sites where WordPress uses FTP/SSH file access; attachments named with 'name.pdf' => $path keep their name; inline images ($embeds, WordPress 6.9+) are sent; error messages no longer contain server paths.
  • Fix: emails in a non-UTF-8 charset are converted instead of failing; API errors show Mailtrap’s explanation, not only the HTTP code; “Check connection” explains a rejected token.
  • Improved: settings screen in plain language with a helper text for every field, inline messages instead of browser pop-ups, labels for screen readers, a Settings link on the Plugins screen.
  • Improved: translations for German, Spanish, French, Italian, Japanese, Polish, Portuguese (Brazil), Russian and Ukrainian.
  • Improved: uninstall also cleans up every site of a multisite network.

3.0.4

  • Fix: the plain-text part of HTML emails now decodes entities, so a link with query parameters reads ?a=1&b=2 instead of ?a=1&amp;b=2, and a link whose text is not its URL keeps the URL in brackets (password reset emails used to show only “address”). Line breaks follow <br> and block ends.

3.0.3

  • New: a one-time, dismissible request to leave a review on WordPress.org. It appears only a week after your first email goes out through Mailtrap, only to administrators and only on the plugin’s own screens. “Maybe later” snoozes it for 30 days, “Don’t ask again” hides it for good. Nothing is sent anywhere.

3.0.2

  • Tested with WordPress 7.1 (verified on 7.1.1). No functional changes.

3.0.1

  • Fixed: Webhook receiver now verifies Mailtrap’s actual Mailtrap-Signature HMAC-SHA256 header instead of a header Mailtrap never sends. Every real delivery-tracking webhook call was being rejected outright since the feature shipped in 2.4.0.
  • Fixed: Webhook payload parsing now unwraps Mailtrap’s {"events": [...]} envelope correctly, so verified events reach do_action('swifttrap_mailtrap_webhook_event', ...).
  • Fixed: Usage card on the Stats page now calls Mailtrap’s current /api/billing/usage endpoint instead of a stale account-scoped path that returned no data.
  • Fixed: Uninstalling the plugin now clears the actual cached transients instead of pre-2.3.0 key names that no longer match.
  • Improved: Email Logs recipient search and account API calls now consistently use bracketed filter syntax and Bearer-token authentication.

Full changelog on WordPress.org →

Screenshots

Settings page — connection, newsletters and bulk email, stream routing.
Settings page — connection, newsletters and bulk email, stream routing.
Stats page — sending domain verification status and suppression list (bounces, complaints, unsubscribes).
Stats page — sending domain verification status and suppression list (bounces…
Email log — live Mailtrap API data with filters and pagination.
Email log — live Mailtrap API data with filters and pagination.
Dashboard widget showing integration status, sender, and quick links to Stats and Settings.
Dashboard widget showing integration status, sender, and quick links to Stats and…
Test email confirmation.
Test email confirmation.

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 SwiftTrap for Mailtrap alternatives

All Email API plugins →

FAQ

SwiftTrap for Mailtrap: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is SwiftTrap for Mailtrap free?

Yes. SwiftTrap for Mailtrap is free to download and use from the official WordPress.org plugin directory.

Is SwiftTrap for Mailtrap safe to use in 2026?

SwiftTrap for Mailtrap works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 6 days ago, and scores 55/100 on our health check.

How many websites use SwiftTrap for Mailtrap?

SwiftTrap for Mailtrap is active on 10+ WordPress websites and has been downloaded 1,175 times since it launched in March 2026. It was downloaded 222 times in the last 30 days.

Does SwiftTrap for Mailtrap work with WordPress 7.1?

Yes. The developer has tested SwiftTrap for Mailtrap up to WordPress 7.2, the latest release. It requires WordPress 6.0 or newer.

What PHP version does SwiftTrap for Mailtrap need?

SwiftTrap for Mailtrap requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was SwiftTrap for Mailtrap last updated?

The latest version, 3.1.1, was released on November 26, 2026 (6 days ago).

Who makes SwiftTrap for Mailtrap?

SwiftTrap for Mailtrap is developed and maintained by SYMONOV.

What are the best alternatives to SwiftTrap for Mailtrap?

The most popular alternatives to SwiftTrap for Mailtrap are Site Mailer (200K+ installs), Lettr – Email API (<10 installs) and Volanea Email Delivery (<10 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