Extends Magento_Email module. The module adds a feature to log email messages to the database even when email sending is disabled.
Stores -> SMTP -> SMTP Log
: The grid with email logs
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
aroundSendMessage
- original class:
\Magento\Framework\Mail\TransportInterface
- functionality: create Log record in DB
- original class:
- Enable
Log Email
on the configuration page. It works independently fromDisable Email Communications
setting.