I am using the ResetsPasswords trait by laravel to implement password reset. What I would like to achieve is to send the email using queue. Digging through the code I found
In case you get "Call to a member function onQueue() on null" after trying to specify queue fakemeta's solution just specify the the queue you are targeting in the constructor of your class.
queue = "authentication";
}
}
then use the notification facade to send your mail in the overriding method. The notify method also works
notify(new ResetPasswordNotification($token));
\Notification::send($this, new ResetPasswordNotification($token));
}
}