mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
AddrAppend() for Bcc get's NOT called for SMTP! --> reimplemented AddBCC()
This commit is contained in:
parent
c0550a5d59
commit
67a34286bb
@ -131,8 +131,22 @@ class egw_mailer extends PHPMailer
|
||||
{
|
||||
foreach($addr as $data)
|
||||
{
|
||||
$this->addresses[$type] .= ($this->addresses[$type] ? ', ' : '').$data[0];
|
||||
$this->addresses[$type][] = $data[0];
|
||||
}
|
||||
return parent::AddrAppend($type, $addr);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a "Bcc" address.
|
||||
*
|
||||
* Reimplemented as AddrAppend() for Bcc get's NOT called for SMTP!
|
||||
*
|
||||
* @param string $address
|
||||
* @param string $name
|
||||
* @return boolean true on success, false if address already used
|
||||
*/
|
||||
public function AddBCC($address, $name = '')
|
||||
{
|
||||
$this->AddrAppend('Bcc', array(array($address,$name)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user