dotkernel / dot-mail

DotKernel mail component based on laminas-mail
https://docs.dotkernel.org/dot-mail/
MIT License
9 stars 3 forks source link

Log sent emails #15

Closed arhimede closed 2 years ago

arhimede commented 3 years ago

Log in a log file somewhere all emails SENT successfully

json or txt format

Subject || TO || From || Date

( to be able to add more informations in the log line )

and write some explanations in the readme.md file

bidi47 commented 2 years ago

upgrading from 3.1 to 3.2.1 returns this error

Laminas\ServiceManager\Exception\ServiceNotFoundException raised in file D:\Programs\XAMPP\htdocs\tryk\api\vendor\laminas\laminas-servicemanager\src\ServiceManager.php line 557: Message: Unable to resolve service "Dot\Mail\Service\LogServiceInterface" to a factory; are you certain you provided it during configuration?

bidi47 commented 2 years ago

fixed with adding this line in config/config.php Dot\Mail\ConfigProvider::class,

also make sure to clear the cache