Resend Email Integration
Resend Email Integration seamlessly replaces WordPress’s default email functionality with Resend’s powerful email API. This plugin:
- Sends all WordPress emails through Resend’s API
- Provides an admin interface for easy configuration
- Displays email logs and history
- Supports domain verification
- Caches email details locally for faster access
Configuration
- Navigate to Settings → Resend Email
- Enter your Resend API key
- Select a verified domain from your Resend account
- Configure the “From” name and email address
- Optionally enable “Force From Name and Email” to override all WordPress emails
- Click “Save Changes”
Building for Distribution
Automatic Deployment to WordPress.org
This repository is configured for automatic deployment to WordPress.org using GitHub Actions.
Setup:
1. Configure GitHub Secrets (see DEPLOYMENT.md):
– WORDPRESS_ORG_USERNAME – Your WordPress.org username
– WORDPRESS_ORG_PASSWORD – Your WordPress.org Application Password
2. Push to main branch – deployment happens automatically
3. Version is extracted from resend-email-integration.php header
See DEPLOYMENT.md for detailed setup instructions.
Manual Build Script
For local testing or manual distribution:
`bash
./build-plugin.sh `
This creates resend-email-integration.zip with all files including vendor/.
Manual Build
- Ensure
vendor/folder exists:composer install --no-dev - Create a zip file including all plugin files including the
vendor/folder - The zip should contain:
- All PHP files
- All assets (CSS, JS)
- The
vendor/folder with all dependencies composer.jsonandcomposer.lock
Important: The vendor/ folder must be included in the distribution zip. Users should not need to run Composer.
Development
For development, you can use Composer to manage dependencies:
`bash
composer install `
Note: The vendor/ folder is gitignored but must be included in distribution packages.
Support
For issues and feature requests, please visit the plugin repository.
License
GPLv2 or later
