PHPMailer\PHPMailer\PHPMailer::clearCCs PHP Method

clearCCs() public method

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