PHPMailer\PHPMailer\PHPMailer::clearBCCs PHP Method

clearBCCs() public method

Clear all BCC recipients.
public clearBCCs ( ) : void
return void
    public function clearBCCs()
    {
        foreach ($this->bcc as $bcc) {
            unset($this->all_recipients[strtolower($bcc[0])]);
        }
        $this->bcc = [];
        $this->clearQueuedAddresses('bcc');
    }