承接 mygento/module-smtp 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mygento/module-smtp

最新稳定版本:2.4.2

Composer 安装命令:

composer require mygento/module-smtp

包简介

Magento 2 SMTP

README 文档

README

Extends Magento_Email module. The module adds a feature to log email messages to the database even when email sending is disabled. Adds a blacklist to make it possible to skip sending emails to emails from the blacklist

Admin panel

Stores -> SMTP -> SMTP Log: The grid with email logs

Configuration

Add Yes/No field Log Email to Stores -> Configuration -> Advanced -> System -> Mail Sending Settings
Add days(int) field Clean Email Log Every to Stores -> Configuration -> Advanced -> System -> Mail Sending Settings
Add regex with email to field Blacklist (could be multiline as several expr) to skip sending messages to these emails to Stores -> Configuration -> Advanced -> System -> Mail Sending Settings

Plugins

  • aroundSendMessage
    • original class: \Magento\Framework\Mail\TransportInterface
    • functionality: create Log record in DB

How to use

  1. Enable Log Email on the configuration page. It works independently from Disable Email Communications setting.

统计信息

  • 总下载量: 8.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 5
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2023-07-17