Support the ongoing development of Laravel.io →
Mail Queues
Last updated 2 years ago.
0

Hello, For this case i would create an artisan command which would check all users who has a expired_date lower than today and then send them e-mail. To automate this process i would reccomend using cronjob.

To learn how to create an artisan command visit: http://laravel.com/docs/5.0/bus To learn how to use cronjob on laravel visit: http://maxoffsky.com/code-blog/practical-laravel-using-cron-jobs-in-laravel/

Or use plugin like this: https://github.com/liebig/cron

Hope this will help you

0

thanks very much, really helpful...

i will try

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.