public function PHPMailer::addBCC

5.x PHPMailer.php public PHPMailer::addBCC($address, $name = '')

Add a "BCC" address.

Parameters

string $address The email address to send to:

string $name:

Return value

bool true on success, false if address already used or invalid in some way

Throws

Exception

File

inc/PHPMailer/src/PHPMailer.php, line 977

Class

PHPMailer
PHPMailer - PHP email creation and transport class.

Namespace

PHPMailer\PHPMailer

Code

public function addBCC($address, $name = '') 
 {
  return $this->addOrEnqueueAnAddress('bcc', $address, $name);
}