Merge pull request 'corrected to email logic in panel check list' (#980) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Reviewed-on: #980
This commit was merged in pull request #980.
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user