* Mail: fix not working BCC addresses

This commit is contained in:
Ralf Becker 2015-01-27 07:56:27 +00:00
parent 456ea984c6
commit 6b9cbb197f

View File

@ -705,6 +705,8 @@ class egw_mailer extends Horde_Mime_Mail
{ {
switch($name) switch($name)
{ {
case '_bcc':
$this->_bcc = $value; // this is NOT PHPMailer compatibility, but need for working BCC, if $this->_bcc is NOT set
case 'Sender': case 'Sender':
$this->addHeader('Return-Path', '<'.$value.'>', true); $this->addHeader('Return-Path', '<'.$value.'>', true);
break; break;