Rahul Saini
Rahul Saini

Reputation: 131

Laravel Email Queue not sending email

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

Answers (2)

Lb Abid
Lb Abid

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

abSiddique
abSiddique

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

Related Questions