Commit 1add1a71 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Debug output sendmail redirect all: addresses now always space delimted

parent a304870e
Pipeline #2321 passed with stages
in 2 minutes and 36 seconds
......@@ -67,8 +67,9 @@ class SendMail {
if (!empty($redirectAllMail)) {
foreach ([SENDMAIL_TOKEN_RECEIVER, SENDMAIL_TOKEN_RECEIVER_CC, SENDMAIL_TOKEN_RECEIVER_BCC] as $key) {
if (isset($mailConfig[$key])) {
$mailConfig[$key] = (strlen($mailConfig[$key]) > 1023) ? str_replace(',', ', ', $mailConfig[$key]) : $mailConfig[$key];
$mailConfig[$key] = str_replace(',', ', ', $mailConfig[$key]);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment