flancer32/mage2_ext_email_hijack

劫持所有由 Magento 发送的电子邮件并将其转发给开发者。

0.2.7 2021-07-22 08:42 UTC

This package is auto-updated.

Last update: 2024-09-22 15:21:15 UTC


README

劫持所有由 Magento 发送的电子邮件并将其转发给开发者。

此模块允许拦截所有由 Magento 2 发送的电子邮件并将它们重定向到开发者的电子邮件地址。原始地址将转换为收件人名称

  • 客户一::cust1.at.gmail.com 客户二::cust2.at.mail.com dev1@mail.com
  • 客户一::cust1.at.gmail.com 客户二::cust2.at.mail.com dev2@mail.com

配置

转到 商店 / 配置 / 高级 / 系统

Store / Configuration / Advanced / System

安装

从控制台

$ 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

使用 'composer.json'

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