fqdn; $mail->subject("⛔ Server '{$this->server->name}' is unreachable"); // $mail->view('emails.application-status-changes', [ // 'name' => $this->application_name, // 'fqdn' => $fqdn, // 'application_url' => $this->application_url, // ]); return $mail; } public function toDiscord(): string { $message = '⛔ Server \'' . $this->server->name . '\' is unreachable (could be a temporary issue). If you receive this more than twice in a row, please check your server.'; return $message; } public function toTelegram(): array { return [ "message" => '⛔ Server \'' . $this->server->name . '\' is unreachable (could be a temporary issue). If you receive this more than twice in a row, please check your server.' ]; } }