The easiest way to deliver transactional and marketing emails at scale with WordPress.
Resend for WordPress ensures your transactional emails reach the inbox every time. This plugin intercepts all WordPress emails and routes them through the Resend API for reliable delivery.
Why Resend?
- π¬ Superior deliverability with intelligent infrastructure
- π Easy setup in minutes
- π Detailed analytics and monitoring
- π° Generous free tier to get started
- π Enterprise security and compliance
- β Simple setup with automatic activation redirect
- β One-click email testing
- β Custom sender name and email configuration
- β Works with all WordPress email functions
- β Compatible with contact forms, notification plugins, and more
- β Secure API key management
- β Clean, intuitive admin interface
- β Multisite compatible
- Go to Plugins β Add New
- Search for "Resend"
- Click Install Now
- Click Activate
- You'll be redirected to setup
- Download the plugin as a ZIP file
- In WordPress admin, go to Plugins β Add New β Upload Plugin
- Upload the ZIP file and click Install Now
- Click Activate Plugin
composer require resend/resend-wordpressThen activate in your WordPress admin panel.
-
Create a Resend Account
- Sign up for free at resend.com
-
Generate an API Key
- Go to your Resend dashboard
- Navigate to API Keys
- Create a new API key
-
Connect in WordPress
- Go to Settings β Resend
- Paste your API key
- Configure sender name and email
-
Send a Test Email
- Click "Send Test Email"
- Verify you received it
- Start sending!
The plugin uses Resend's API to send emails. You'll need:
- A Resend account (free tier available)
- An API key with sending permissions
- A verified sender domain
To create an API key:
- Visit your Resend dashboard
- Click "Create API Key"
- Copy the key (starts with
re_) - Paste it in Settings β Resend
Configure who emails appear to come from:
- From Email: The email address emails are sent from
- From Name: The display name in the From field
Important: The "From Email" must be a verified sender address in your Resend account.
Once activated, the plugin automatically handles all WordPress emails:
- User account notifications
- Password reset emails
- Plugin notifications
- Contact form submissions
- Custom emails from themes/plugins using
wp_mail()
Use WordPress's standard wp_mail() function - the plugin handles the rest:
wp_mail(
'user@example.com',
'Email Subject',
'Email body content'
);All emails are automatically routed through Resend!
Another plugin or custom code is overriding wp_mail(). The Resend plugin must be the only one handling email sending.
Solution: Disable other mail plugins or check your theme/child-theme for custom mail code.
- Verify your API key is correct (starts with
re_) - Check that your sender email is verified in Resend
- Send a test email from the plugin settings
- Check your WordPress error logs
- Visit Resend Support
- Check your spam/junk folder
- Verify the test email address is correct
- Ensure your Resend account is on an active plan
- Check your firewall/host restrictions
- WordPress: 5.8 or later
- PHP: 7.2 or later
- Resend Account: Free or paid plan
- API keys are stored securely in the WordPress database
- All requests to Resend use HTTPS
- Nonces protect admin forms
- User capability checks on all settings pages
- All user input is sanitized and validated
Best Practices:
- Keep WordPress and plugins updated
- Use strong database passwords
- Never share your API key
- Regenerate keys if compromised
git clone https://github.com/resend/resend-wordpress.git
cd resend-wordpress
composer installThe plugin follows WordPress coding standards:
# Run linting
composer run lint
# Auto-fix issues
composer run formatresend-wordpress/
βββ resend.php # Main plugin file
βββ class-resend.php # Core plugin class
βββ class-resend-admin.php # Admin functionality
βββ wp-mail.php # wp_mail() override
βββ views/ # Admin templates
βββ public/ # CSS and JavaScript
βββ composer.json # Dependencies
βββ README.md # This file
We welcome contributions! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
For issues and feature requests, please use GitHub Issues.
- π Resend Documentation
- π¬ Resend Support
- π GitHub Issues
- πΌ Enterprise Support
This plugin is licensed under the GPL-2.0-or-later license. See LICENSE for details.
Built with β€οΈ by Resend and contributors.
Ready to get started? Create your free Resend account