You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish to track mail sending using Illuminate\Mail\Mailable. I do get an entry for the job in the job_statuses table, but the status remains queued while the job is executed. I use database as queue driver.
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Imtigger\LaravelJobStatus\Trackable;
class SendMail extends Mailable
{
use Queueable, SerializesModels, Trackable;
public function __construct()
{
$this->onQueue('default');
$this->prepareStatus();
}
public function build() {
$this->subject('Test)->view('emails.test_view');
}
}
The text was updated successfully, but these errors were encountered:
Hello,
I wish to track mail sending using
Illuminate\Mail\Mailable
. I do get an entry for the job in thejob_statuses
table, but the status remainsqueued
while the job is executed. I use database as queue driver.The text was updated successfully, but these errors were encountered: