WordPress plugin intelligence profile

SwiftTrap for Mailtrap

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

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version3.0.3
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.0 · PHP 8.0
Directory statusactive
Last directory update19 Sept 20261mo ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records SwiftTrap for Mailtrap version 3.0.3 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

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

  • Generic SMTP plugins use Mailtrap’s SMTP credentials and lose every Mailtrap-only feature.
  • SwiftTrap calls send.api.mailtrap.io for transactional mail and bulk.api.mailtrap.io for bulk mail — automatically, based on category or via 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.
  • 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.
  • Reliability Fallback — Graceful failover back to WordPress native wp_mail() if the Mailtrap API call fails.
  • 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 button on the settings page.
  • 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.
  • swifttrap_mailtrap_template — send via a Mailtrap template by template_uuid.
  • swifttrap_mailtrap_custom_variables — attach tracking metadata to outgoing emails.

Privacy

io. io/api/email_logs. See the Mailtrap Privacy Policy.

No data is sent anywhere else.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • email api
  • email log
  • transactional email
  • wp mail
  • mailtrap
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.0 · PHP 8.0
Update activity19 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version3.0.23.0.3
Version3.0.13.0.2
WordPress compatibility7.0.47.1.1
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.