mygento/module-smtp

Magento 2 SMTP

Installs: 1 101

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 5

Forks: 2

Open Issues: 0

Type:magento2-module

2.4.0 2024-04-12 07:05 UTC

This package is auto-updated.

Last update: 2024-04-12 08:15:40 UTC


README

Extends Magento_Email module. The module adds a feature to log email messages to the database even when email sending is disabled.

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

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.