I want to queue and send mails with database based queue driver. I can send emails with that:
Mail::to('someone@example.com')->send(new ForgotPassword($first_name, $link));
This also works (I see that a row is inserted in jobs table).
Mail::to('someone@example.com')->queue(new ForgotPassword($first_name, $link));
But I couldn't find the way to run queues and send emails in the background.
How can I do that?
Note: It is Laravel 5.4.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2l0Sojo
via IFTTT
Aucun commentaire:
Enregistrer un commentaire