I have the following code which (I think) will only verify the domain of the email address.
$EmailAddress = "user@domain.com";
list($User, $Domain) = explode("@", $EmailAddress);
$DomainExists = checkdnsrr($Domain, 'MX');
if($DomainExists==true){
// Email domain exists
}
else{
// Email domain does not exist
}
If I can, how do I verify the $User
part?