public function hasMx($email)
{
if (!$this->isEmail($email)) {
return null;
}
$hostname = $this->hostnameFromEmail($email);
if ($hostname) {
return checkdnsrr($hostname, 'MX');
}
return null;
}