redpa2ya / magento2-module-replace-email-recipients
This module will be replaced all recipient email addresses by specific emails. This prevents emailing to actual customers when using database production on development or testing environments.
Package info
github.com/redpa2ya/magento2-module-replace-email-recipients
Type:magento2-module
pkg:composer/redpa2ya/magento2-module-replace-email-recipients
1.0.0
2020-05-19 06:56 UTC
Requires
- redpa2ya/magento2-module-base: ^1.0.0
This package is auto-updated.
Last update: 2026-03-19 20:47:12 UTC
README
How to install & upgrade Redpa2ya_Rer
1. Install via composer (recommend)
Run the following command in Magento 2 root folder.
1.1 Install
composer require redpa2ya/magento2-module-replace-email-recipients
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
1.2 Upgrade
composer update redpa2ya/magento2-module-replace-email-recipients
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Run compile if your store in production mode:
php bin/magento setup:di:compile
2. Copy and paste
If you don't want to install via composer, you can use this way.
- Download the latest version here
- Extract
magento2-module-replace-email-recipients.zipfile toapp/code/Redpa2ya/Rer(Make sure you created the folderapp/code/Redpa2ya/Rerif it doesn't exist). - Go to Magento root folder and run upgrade command line to install
Redpa2ya_Rer:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Configuration
1. On the Admin sidebar, go to STORES > Configuration
2. In the left panel, expand REDPA2YA EXTENSIONS and choose Replace Email Recipients underneath.
3. Click to expand the General Configuration section and do the following:
- Module Enable: choose Yes to enable this module
- To: The destination emails, the first is "To" email and Remaining are "Bcc" emails.
4. Click Save Config
5. Flush cache by the following command:
php bin/magento cache:flush