PHPMailer\PHPMailer\PHPMailer::cidExists PHP Méthode

cidExists() protected méthode

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