- Laravel Version: 5.6.12
- PHP Version: 7.1.15
- Database Driver & Version: (PostgreSQL) 10.3 (Ubuntu 10.3-1.pgdg16.04+1)
In the .env file:
QUEUE_DRIVER=database
Route::get('testmail', function () {
return Mail::to('***@****', 'Джон Смит')
->queue(new \App\Mail\MailTest());
});
I run the queue:
php artisan queue:work
When I try to send a message, I see an entry in the jobs table.
The failed_jobs table is empty.
After sending in the console there are no entries about the queued letters.
Also in the log file there is no information.
Queues stopped working after upgrading to 5.6 or perhaps due to a change in mysql to postgresql.
Without a queue, the mail is sent.
Tell me how can I fix this?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2IHwdrp
via IFTTT
Aucun commentaire:
Enregistrer un commentaire