reacter = $reacter; $this->post = $post; $this->message = $message; $this->organizer = $organizer; } /** * Execute the job. * * @return void */ public function handle() { Log::info('SendReservationUpdateMail: Starting to process job', [ 'reacter_type' => get_class($this->reacter), 'reacter_id' => $this->reacter->id, 'post_id' => $this->post->id ]); // Send the email to the reacter Mail::to($this->reacter->email)->send( new ReservationUpdateMail($this->reacter, $this->post, $this->message, $this->organizer) ); Log::info('SendReservationUpdateMail: Email sent successfully', [ 'to' => $this->reacter->email, 'post_id' => $this->post->id ]); } }