mygento / module-smtp
Magento 2 SMTP
Installs: 3 538
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 2
Open Issues: 0
Type:magento2-module
Requires
- magento/module-email: ~101.1.6
Requires (Dev)
- mygento/coding-standard: ~2.14
This package is auto-updated.
Last update: 2024-10-15 06:05:39 UTC
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
- original class:
How to use
- Enable
Log Email
on the configuration page. It works independently fromDisable Email Communications
setting.