Closed Khuthaily closed 6 months ago
If you need to add additional data to the model, you can use a listener or pass data to the existing listeners via https://github.com/jdavidbakr/mail-tracker?tab=readme-ov-file#passing-data-to-the-event-listeners
@jdavidbakr, thank you for this great package. I have a working email app; all is good. I have added this packaged to track sent emails, and I customized the
sent_mails
table to includeuser_id
column.My question is: how can I add the
user_id
attribute as the email gets saved in the database if my (sample) code is like this:Controller
Mail