@@ 269-274 (lines=6) @@ | ||
266 | if ($recipient !== null && $recipient !== '') { |
|
267 | $allRecipientsArr = \explode(',', $recipient); |
|
268 | } |
|
269 | if (isset($options['to']) && $options['to'] !== '') { |
|
270 | $allRecipientsArr = \array_merge( |
|
271 | $allRecipientsArr, |
|
272 | \explode(',', $options['to']) |
|
273 | ); |
|
274 | } |
|
275 | if (isset($options['cc']) && $options['cc'] !== '') { |
|
276 | $allRecipientsArr = \array_merge( |
|
277 | $allRecipientsArr, |
|
@@ 275-280 (lines=6) @@ | ||
272 | \explode(',', $options['to']) |
|
273 | ); |
|
274 | } |
|
275 | if (isset($options['cc']) && $options['cc'] !== '') { |
|
276 | $allRecipientsArr = \array_merge( |
|
277 | $allRecipientsArr, |
|
278 | \explode(',', $options['cc']) |
|
279 | ); |
|
280 | } |
|
281 | if (isset($options['bcc']) && $options['bcc'] !== '') { |
|
282 | $allRecipientsArr = \array_merge( |
|
283 | $allRecipientsArr, |
|
@@ 281-286 (lines=6) @@ | ||
278 | \explode(',', $options['cc']) |
|
279 | ); |
|
280 | } |
|
281 | if (isset($options['bcc']) && $options['bcc'] !== '') { |
|
282 | $allRecipientsArr = \array_merge( |
|
283 | $allRecipientsArr, |
|
284 | \explode(',', $options['bcc']) |
|
285 | ); |
|
286 | } |
|
287 | $allRecipients = \implode(',', $allRecipientsArr); |
|
288 | $this->logger->error( |
|
289 | "Can't send mail with public link to $allRecipients: ".$e->getMessage(), |