Merge pull request #12574 from inietov/fixes/address_in_mailbox_not_comply_rfc

Fixed Address in mailbox given does not comply with RFC 2822, 3.6.2. [sc-202022]
This commit is contained in:
snipe 2023-02-27 15:55:31 -08:00 committed by GitHub
commit 23fe11c71e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,10 @@ class CheckoutAcceptance extends Model
{
// At this point the endpoint is the same for everything.
// In the future this may want to be adapted for individual notifications.
return Setting::getSettings()->alert_email;
$recipients_string = explode(',', Setting::getSettings()->alert_email);
$recipients = array_map('trim', $recipients_string);
return array_filter($recipients);
}
/**