PHPMailer\PHPMailer\PHPMailer::inlineImageExists PHP Méthode

inlineImageExists() public méthode

Check if an inline attachment is present.
public inlineImageExists ( ) : boolean
Résultat boolean
    public function inlineImageExists()
    {
        foreach ($this->attachment as $attachment) {
            if ($attachment[6] == 'inline') {
                return true;
            }
        }
        return false;
    }