public function PHPMailer::clearBCCs
Search API
5.x PHPMailer.php | public PHPMailer::clearBCCs() |
Clear all BCC recipients.
File
- inc/
PHPMailer/ src/ PHPMailer.php, line 3634
Class
- PHPMailer
- PHPMailer - PHP email creation and transport class.
Namespace
PHPMailer\PHPMailerCode
public function clearBCCs()
{
foreach ($this->bcc as $bcc) {
unset($this->all_recipients [strtolower($bcc [0])]);
}
$this->bcc = [];
$this->clearQueuedAddresses('bcc');
}