private function EmailValidator::checkMX in Plug 7
Check DNS Records for MX type.
Parameters
string $host Host:
Return value
bool
2 calls to EmailValidator::checkMX()
- EmailValidator::checkHost in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ EmailValidator.php - Check if one of MX, A or AAAA DNS RR exists.
- EmailValidator::validate in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ EmailValidator.php - Checks if the passed value is valid.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ EmailValidator.php, line 112
Class
- EmailValidator
- @author Bernhard Schussek <bschussek@gmail.com>
Namespace
Symfony\Component\Validator\ConstraintsCode
private function checkMX($host) {
return checkdnsrr($host, 'MX');
}