@@ 454-456 (lines=3) @@ | ||
451 | } |
|
452 | ||
453 | // BCC |
|
454 | foreach ($this->_bcc as $address => $name) { |
|
455 | $this->headers['BCC'] = (empty($name) ? '' : $name.' ') . '<' . $address . '>'; |
|
456 | } |
|
457 | ||
458 | // Message-Id |
|
459 | $this->headers['Message-ID'] = $this->messageId; |
|
@@ 767-769 (lines=3) @@ | ||
764 | ||
765 | // Prepare the recipients |
|
766 | $to = []; |
|
767 | foreach($this->_to as $address => $name) { |
|
768 | $to[] = (empty($name) ? '' : $name.' ').'<'.$address.'>'; |
|
769 | } |
|
770 | $recipients = implode(',', $to); |
|
771 | // Check for the need of undisclosed recipients outlook-like <TO:> |
|
772 | if (empty($recipients) && (0 == count($this->_cc))) { |