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.
Installs: 3 757
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- redpa2ya/magento2-module-base: ^1.0.0
This package is auto-updated.
Last update: 2025-06-19 19:24:54 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.zip
file toapp/code/Redpa2ya/Rer
(Make sure you created the folderapp/code/Redpa2ya/Rer
if 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