corrected to email logic in panel check list
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Laravel Pint / pint (pull_request) Successful in 22m59s
Laravel Larastan / larastan (pull_request) Failing after 23m15s

This commit is contained in:
dhanabalan
2026-09-04 15:55:12 +05:30
parent 4a90bc7b82
commit f9c3ee08f0

View File

@@ -400,7 +400,13 @@ public $records = [];
if ($mailRule && !empty($mailRule->email)) {
$mail = Mail::to($mailRule->email);
// $mail = Mail::to($mailRule->email);
$toEmails = array_filter(
array_map('trim', explode(',', $mailRule->email))
);
$mail = Mail::to($toEmails);
if (!empty($mailRule->cc_emails)) {