|
@@ 457-459 (lines=3) @@
|
| 454 |
|
} |
| 455 |
|
|
| 456 |
|
// BCC |
| 457 |
|
foreach ($this->_bcc as $address => $name) { |
| 458 |
|
$this->headers['BCC'] = (empty($name) ? '' : $name.' ').'<'.$address.'>'; |
| 459 |
|
} |
| 460 |
|
|
| 461 |
|
// Message-Id |
| 462 |
|
$this->headers['Message-ID'] = $this->messageId; |
|
@@ 785-787 (lines=3) @@
|
| 782 |
|
|
| 783 |
|
// Prepare the recipients |
| 784 |
|
$to = []; |
| 785 |
|
foreach ($this->_to as $address => $name) { |
| 786 |
|
$to[] = (empty($name) ? '' : $name.' ').'<'.$address.'>'; |
| 787 |
|
} |
| 788 |
|
$recipients = implode(',', $to); |
| 789 |
|
// Check for the need of undisclosed recipients outlook-like <TO:> |
| 790 |
|
if (empty($recipients) && (0 == count($this->_cc))) { |