Closed stefensuhat closed 7 years ago
Cannot
Please share more details, what's not working?
@themsaid public $tries = 1;
function is not working. I still need to command art queue:work --tries=1
.
I seem to have a similiar issue, I implemented ShouldQueue but setting the queue in the constructor doesn't have any effect. The mail isn't even queued, but sent directly. https://laravel.com/docs/5.4/mail#queueing-mail
class OrderConfirmation extends Mailable implements ShouldQueue
{
use Queueable, SerializesModels;
public function __construct()
{
$this->queue = 'email';
}
@themsaid I got an email notification but don't see your post here, I added some extra info to my original comment.
@tomcoonen I think this is something else, I just tested your scenario and it works fine please double check your email
queue.
@ssuhat opened a PR to add this feature: https://github.com/laravel/framework/pull/18103
Thanks
@themsaid found it: https://github.com/laravel/framework/issues/18147
Description:
Cannot Interacts with Queue on Mail for example:
tries
,timeout
like on JobsSteps To Reproduce:
on my Mail\PasswordReset.php: