SwiftTrap for Mailtrap
·
Route WordPress emails through the Mailtrap Send API with stream routing, categories, and logging.
SwiftTrap for Mailtrap replaces the default WordPress wp_mail() with the Mailtrap Send API.
Features:
- Send transactional and bulk emails via Mailtrap
- Automatic email categorization (welcome, password-reset, notification, etc.)
- Bulk stream routing for promotional emails
- Email logging with retention management
- Dashboard widget with account stats
- Test email from settings page
No SDK required — uses the WordPress HTTP API (wp_remote_post) for zero external dependencies.
Extensible via filters:
swifttrap_mailtrap_email_category— override email categoryswifttrap_mailtrap_use_bulk_stream— control bulk stream routingswifttrap_mailtrap_template— send via Mailtrap template (template_uuid)swifttrap_mailtrap_custom_variables— attach tracking metadata to emails
