RickDBCN / filament-email

Log emails in your Filament project
https://filament-email-demo.marcogermani.it/
MIT License
77 stars 23 forks source link

[Bug]: Emails not logging #37

Closed jcsoriano closed 7 months ago

jcsoriano commented 7 months ago

What happened?

When mail notifications are sent, it's not being logged

While debugging, I do php artisan event:list --event=MessageSent and the package's listener doesn't show

How to reproduce the bug

Simply follow the package's Installation instructions

Package Version

1.0.11

PHP Version

8.2.8

Laravel Version

10.43.0

Which operating systems does with happen with?

macOS

Notes

No response

jcsoriano commented 7 months ago

After digging further, we found some interesting things:

  1. When the package is installed and I do php artisan event:list, the things in EventServiceProvider@listen array are no longer registered
  2. When we uninstall the package and I do php artisan event:list, event registration works fine again - i.e. EventServiceProvider@listen listeners are registered

So this package seems to be doing something with event registration somehow

RickDBCN commented 7 months ago

Hi @jcsoriano,

Any chance you could create a reproduction repository? I'm unable to reproduce this issue myself.