Jump to content

Is there anyway to validate email addresses the way these guys are doing it?


Recommended Posts

that site is BS I just entered TWO of my real email address and they both came up as "not real email"

 

Probably not the smartest idea :)  Maybe they just wanted email addresses!

goodguybadguy.net

 

they can tell when you enter an email address that hasnt been registered yet. how the hell are they doing this? does gmail or  yahoo have some sort of database they allow access to for this?

No. This is done by obtaining the MX records from the email domain i.e joebloggs@yahoo.com, the domain is yahoo.com.

Take a look at the examples here.

http://php.net/manual/en/function.getmxrr.php

 

I would not use this method as you may not always be able to perform the lookups if there are DNS issues. This is backed up by the last post stating they put 2 valid addresses in and they both failed.

 

What you should do is validate an email address by sending out a link to the address entered. When the user clicks on the link you know that the email address is valid. Email addresses that dont validate you can have a cleanup routine to get rid of them from your database.

that site is BS I just entered TWO of my real email address and they both came up as "not real email"

 

Probably not the smartest idea :)  Maybe they just wanted email addresses!

 

Don't worry I used my junk/spam accounts, but they are real accounts  =]

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.