sendTemplate( $to, '[PIN FOR YOU] 1:1 문의 등록 알림', 'mail.admin.qna_created', [ 'name' => $this->data['name'], 'email' => $this->data['email'], 'cell' => $this->data['cell'], 'title' => '[PIN FOR YOU] 1:1 문의 등록 알림', 'mem_no' => $this->memNo, 'qna_id' => $this->qnaId, 'year' => $this->data['year'] ?? null, 'enquiry_code' => $this->data['enquiry_code'] ?? '', 'enquiry_title' => $this->data['enquiry_title'] ?? '', 'enquiry_content' => $this->data['enquiry_content'] ?? '', 'return_type' => $this->data['return_type'] ?? null, 'ip' => $this->data['ip'] ?? '', 'created_at' => $this->data['created_at'] ?? now()->toDateTimeString(), 'accent' => '#E4574B', 'brand' => 'PIN FOR YOU', 'siteUrl' => config('app.url'), ], queue: false // 여기서도 실제 발송은 즉시, 하지만 "요청 처리"와 분리됨(비동기) ); } catch (\Throwable $e) { Log::error('[QNA] admin notify mail failed', [ 'mem_no' => $this->memNo, 'qna_id' => $this->qnaId, 'email' => $to, 'err' => $e->getMessage(), ]); // 한 명 실패해도 나머지 계속 시도 } } } }