Mail via Resend
A free WordPress plugin (formerly Resend for WordPress) that routes all WordPress emails through Resend.com. Reliable email delivery with comprehensive logging and management features. Now available on WordPress.org.
What It Does
Mail via Resend automatically routes all WordPress emails sent via wp_mail() through Resend's API. No code changes needed. Just install, configure your API key, and all your WordPress emails will be sent through Resend.
Whether it's password reset emails, contact form notifications, WooCommerce order confirmations, or any other WordPress email, they all go through Resend. Reliable delivery, better deliverability, and full control over your email sending.
Features
Resend Integration
All WordPress emails are automatically sent via Resend's API. Works with any plugin or theme that uses WordPress's built-in email functions. No modifications needed to your existing code.
Email Logging
Complete email log with searchable, paginated interface. View all sent emails, check delivery status, see Resend response IDs, and troubleshoot failed sends. All stored locally in your database.
Searchable Email History
Search emails by recipient address or subject line. Filter by status (sent or failed). View complete email details including headers and body excerpts. Everything you need to track and manage your email sending.
Easy Configuration
Simple settings page to configure your Resend API key, default from email and name, and log retention period. Test email functionality built right in to verify your setup works correctly.
Automatic Log Cleanup
Configurable log retention with automatic cleanup via WP-Cron. Set how many days to keep logs, and older entries are automatically removed. Keeps your database clean without manual intervention.
Developer Friendly
Hooks and filters for extensibility. Modify email payloads before sending, hook into successful sends, and customise behaviour to fit your needs. Built with developers in mind.
How It Works
WordPress uses the wp_mail() function to send all emails. This plugin intercepts those calls and routes them through Resend's API instead of your server's default mail function.
Here's what happens:
- Install and activate the plugin from WordPress.org
- Get your Resend API key from resend.com
- Configure your API key and default email settings in Settings → Resend
- All WordPress emails automatically route through Resend
- View and manage all sent emails in Tools → Email Log
No changes to your theme or plugin code required. Everything works automatically once configured.
Email Log Features
Search & Filter
Search by recipient email or subject line. Filter by status (sent or failed) to quickly find what you're looking for.
Complete Details
View full email details including headers, body excerpts, Resend response IDs, timestamps, and error messages for failed sends.
Bulk Management
Delete multiple log entries at once. Paginated interface makes it easy to navigate through large email logs.
Privacy First
All email logs are stored locally in your WordPress database. No data is sent to third-party services except Resend for email delivery.
Requirements
- WordPress 5.8 or higher
- PHP 7.4 or higher
- A Resend account and API key (get one free at resend.com)
That's it. No other plugins or services required. Just WordPress, PHP, and a Resend account.
Privacy & Data
This plugin collects and stores the following data locally in your WordPress database:
- Email addresses of recipients
- Email subjects and body excerpts (first 500 characters)
- Email headers
- Email delivery status and Resend API response IDs
All data is stored locally in your WordPress database and is not transmitted to any third-party service except Resend for the purpose of sending emails. Email logs are stored in a custom database table and can be managed or deleted through the plugin's admin interface.
By using this plugin, you consent to sending emails through the Resend service. Please review Resend's Privacy Policy and Terms of Service for information about how Resend handles your data.
Note: This plugin is not officially associated with or endorsed by Resend. It is an independent, community-developed plugin that integrates with Resend's API service.
Ready to get started?
Mail via Resend is live on WordPress.org. Free, open source, and ready to use.