Reputation: 131
I am trying to send the email( using queue). I am experiencing this strange behavior with the Laravel queue, it sends email perfectly in sync but does not send an email when send using a queue. And If I remove the queue it works just fine
Upvotes: 3
Views: 2032
Reputation: 118
After a long search, try this
.env file setup MAIL_DRIVER=sendmail.
config/mail.php file 'sendmail' => '/usr/sbin/sendmail -t' replace -bs with -t.
Upvotes: 0
Reputation: 12335
Laravel queue
process work under the queue runner
, check your runner !
It might help https://laravel.com/docs/8.x/queues#running-the-queue-worker
Upvotes: 1