At first, it sends some emails then stopped without giving any errors, I tested tinker and it gives “null” without receiving anything!! this is my config MAIL_DRIVER=smtp MAIL_HOST=smtp….
Tag: laravel-jobs
How can I test laravel job’s second try logic which is using attempts function
I have a queued job class which backs off exponentially thanks to the backoff() method. I want to test that backoff() method works right. It should create 2, 4, 8, 16 and so on after each retry. Since attempts() function belongs to the InteractsWithQueue trait and reads the attempt count from the deeper RedisJob class’ decoded payload, I could not