Exporter Email Notification
Is there a recommended best practice approach to sending an email notification on successful completion of an export of data?
I've been trawling through the docs but everything only points towards database notifications. I would like to send an email notification, ideally on creation of the database notification. I'm currently planning to create a custom event listener which listens for the global
Any recommendations for how to handle this would be super appreciated!
I've been trawling through the docs but everything only points towards database notifications. I would like to send an email notification, ideally on creation of the database notification. I'm currently planning to create a custom event listener which listens for the global
Illuminate\Notifications\Events\NotificationSent event and then interrogate the data of every event this captures to ensure it is the correct "export" event to trigger a custom email notification to send to the user, but this feels clunky and a bit of an anti-pattern. Any recommendations for how to handle this would be super appreciated!