concrete/src/Validator/String/EmailValidator.php
protected function checkEmail($mixed)
    {
        $result = false;
        if (is_string($mixed) && $mixed !== '') {
            $eev = $this->getEguliasEmailValidator();
            $testMX = $this->isTestMXRecord();
            if ($eev->isValid($mixed, $testMX, $this->isStrict())) {
                if ($testMX) {
                    $result = !in_array(EguliasEmailValidator::DNSWARN_NO_RECORD, $eev->getWarnings(), true);
                } else {
                    $result = true;
                }
            }
        }

        return $result;
    }
protected function checkEmail($mixed)
    {
        $result = false;
        if (is_string($mixed) && $mixed !== '') {
            $eev = $this->getEguliasEmailValidator();
            $testMX = $this->isTestMXRecord();
            if ($eev->isValid($mixed, $testMX, $this->isStrict())) {
                if ($testMX) {
                    $result = !in_array(EguliasEmailValidator::DNSWARN_NO_RECORD, $eev->getWarnings(), true);
                } else {
                    $result = true;
                }
            }
        }

        return $result;
    }
protected function checkEmail ( $ mixed ) { $ result = false ; if ( is_string ( $ mixed ) && $ mixed !== '' ) { $ eev = $ this -> getEguliasEmailValidator ( ) ; $ testMX = $ this -> isTestMXRecord ( ) ; if ( $ eev -> isValid ( $ mixed , $ testMX , $ this -> isStrict ( ) ) ) { if ( $ testMX ) { $ result = ! in_array ( EguliasEmailValidator :: DNSWARN_NO_RECORD , $ eev -> getWarnings ( ) , true ) ; } else { $ result = true ; } } } return $ result ; }
Actually check if an email address is valid.

@param string|mixed $mixed

@return bool
Actually check if an email address is valid .