emailId = $email->id; $this->onQueue(QueueName::EMAIL->value); } /** * Execute the job. * * @return void */ public function handle() { try { Sender::send($this->emailId); } catch (TempFileNotExistsException $e) { // 一時ファイルが存在しないため、処理終了 Log::warning(sprintf("ファイル存在しないため、メール送信処理スキップ :%s", $e->getFilepath())); } } }