An open API service indexing awesome lists of open source software.

https://github.com/flancer32/mage2_ext_email_hijack

Hijack all emails being sent by Magento and redirect it to developers
https://github.com/flancer32/mage2_ext_email_hijack

Last synced: 10 months ago
JSON representation

Hijack all emails being sent by Magento and redirect it to developers

Awesome Lists containing this project

README

          

# mage2_ext_email_hijack

Hijack all emails being sent by Magento and forward its to developers.

This module allows to intercept all emails being sent by Magento 2 and redirect to developers email addresses.
Original addresses are converted into recipient names:
* Customer First::cust1.at.gmail.com Customer Second::cust2.at.mail.com
* Customer First::cust1.at.gmail.com Customer Second::cust2.at.mail.com

## Configuration

Go to `Store / Configuration / Advanced / System`:

![Store / Configuration / Advanced / System](./doc/img/store_config.jpg "Store / Configuration / Advanced / System")

## Install

### From console

```bash
$ cd ${DIR_MAGE_ROOT} // go to Magento 2 root folder ('composer.json' file should be placed there)
$ composer require flancer32/mage2_ext_email_hijack
$ bin/magento module:enable Flancer32_EmailHijack
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile

```

### Using 'composer.json'

```json
{
"require": {
"flancer32/mage2_ext_email_hijack": "*"
}
}
```