vendredi 19 juillet 2019

Laravel, best approach to send an email at a timestamp match

Laravel 5.6.

I have a table which cointains a column called "end" and it's a timestamp and "user_id". That date is in the future. I need to send an email (always the same email) to that user when that date is reached.

I've read about:

https://laravel.com/docs/5.6/scheduling

https://laravel.com/docs/5.6/mail#queueing-mail

https://laravel.com/docs/5.6/notifications#mail-notifications

But I'm not sure where to start.

Every of those tools send emails but, what will be the best approach on what I need to do?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire