Skip to content

Enables users to redirect emails to a custom email address instead of the original recipient.

License

Notifications You must be signed in to change notification settings

nielslange/email-redirect

Repository files navigation

Email Redirect

A WordPress plugin that enables users to redirect emails to custom email addresses instead of the original recipient. This is particularly helpful during development and testing, allowing you to verify emails are sent correctly without real-world consequences, such as preventing test orders from reaching your fulfillment center or accidentally notifying customers.

Screenshot

Screenshot

Commands

Setup Commands

composer install     # Install PHP dependencies
pnpm install         # Install Node.js dependencies

Build Commands

pnpm build          # Build CSS and JS assets
pnpm build:css      # Build CSS from SCSS
pnpm build:js       # Build minified JS
pnpm build:watch    # Watch and build CSS on changes
pnpm build:zip      # Create distribution zip file

Linting Commands

pnpm lint:css       # Lint SCSS files
pnpm lint:css:fix   # Fix SCSS linting issues
pnpm lint:js        # Lint JavaScript files
pnpm lint:js:fix    # Fix JavaScript linting issues

Code Quality Commands

pnpm phpcbf         # Fix PHP coding standards issues
pnpm phpcs          # Check PHP coding standards
pnpm phpcs:file     # Check specific PHP file
pnpm phpcs:summary  # Show PHP coding standards summary

Release Commands

pnpm release        # Bump version number and create distribution zip file

License

This plugin is licensed under the GNU General Public License v3.0.

About

Enables users to redirect emails to a custom email address instead of the original recipient.

Resources

License

Stars

Watchers

Forks