PHPMailer\PHPMailer\PHPMailer::cidExists PHP Method

cidExists() protected method

Check if an embedded attachment is present with this cid.
protected cidExists ( $cid ) : boolean
$cid
return boolean
    protected function cidExists($cid)
    {
        foreach ($this->attachment as $attachment) {
            if ('inline' == $attachment[6] and $cid == $attachment[7]) {
                return true;
            }
        }
        return false;
    }