data = $data; } public function envelope(): Envelope { return new Envelope( subject: 'Thông báo: Cài lại hệ điều hành thất bại - ' . ($this->data['vm_name'] ?? 'VPS'), ); } public function content(): Content { return new Content( view: 'emails.customer.vm-rebuild-failed', with: [ 'customerName' => $this->data['customer_name'] ?? 'Khách hàng', 'vmName' => $this->data['vm_name'] ?? 'N/A', 'ip' => $this->data['ip'] ?? 'N/A', 'supportEmail' => config('mail.support_email', 'support@example.com'), 'supportPhone' => config('mail.support_phone', '1900-xxxx'), 'serviceUrl' => rtrim((string) env('FRONTEND_URL', config('app.url')), '/') . '/dich-vu', ], ); } public function attachments(): array { return []; } }