mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixed bug where bcc was visible to all recipients when using smtp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7766 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
2350000be0
commit
f5a8ce4612
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ class EmailComponent extends Object{
|
|||
$this->__header[] = 'cc: ' .implode(', ', array_map(array($this, '__formatAddress'), $this->cc));
|
||||
}
|
||||
|
||||
if (!empty($this->bcc)) {
|
||||
if (!empty($this->bcc) && $this->delivery != 'smtp') {
|
||||
$this->__header[] = 'Bcc: ' .implode(', ', array_map(array($this, '__formatAddress'), $this->bcc));
|
||||
}
|
||||
if ($this->delivery == 'smtp') {
|
||||
|
|
Loading…
Add table
Reference in a new issue