Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Laravel Queue mailable via tinker
// Create mailable, e.g. MailableTest
php artisan make:mail MailableTest --markdown=emails.mailable-test
// Run horizon or queue worker
// Open tinker
$mailable = (new \App\Mail\MailableTest())->onQueue('queue-name');
Copy link

dilab commented Aug 3, 2020

This does not seem to work. Laravel will send the email synchronously.
Below worked:


Copy link

@carltondickson Thanks, @dilab method works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment