Validate Real Email Address Using MX record? send test mail to that real email address and if your message doesn’t bounce and it is safe to assume* that the address is real email address.

1.Ping an Email Address to Validate it! 

When you send an email to someone, the email message goes first to an SMTP server which then looks for the MX (Mail Exchange) records of the email recipient’s domain.

2.Enable telnet in Windows. Or if you already have the PuTTY utility, skip this step.

3.Open the command prompt and type the following command:

nslookup –type=mx
This command will extract and list the MX records of a domain as shown below. Replace with the domain of the email address that you are trying to verify. MX preference=30, exchanger = MX preference=20, exchanger = MX preference=5, exchanger = MX preference=10, exchanger = MX preference=40, exchanger =

a: Connect to the mail server:

telnet 25
b: Say hello to the other server

c: Identify yourself with some fictitious email address

mail from:<>

d: Type the recipient’s email address that you are trying to verify:

rcpt to:<>

The server response for ‘rcpt to’ command will give you an idea whether an email address is valid or not. You’ll get an “OK” if the address exists else a 550 error like: — The email account that you tried to reach does not exist. — The email account that you tried to reach is disabled.
That’s it! If the address is valid, you may perform a reverse email search to find the person behind the address

MX records to validate email addresses

function MXRecordVerify($emailaddress){
        list($user, $domain) = explode('@', $emailaddress);
        $arr= dns_get_record($domain,DNS_MX);
                return $arr[0]['target'];
$emailaddress= '';

if(MXRecordVerify($emailaddress)) {
        echo('This MX records exists; I will accept this email as valid.');
else {
        echo('No MX record exists;  Invalid email.');