- 1
Checking email availability
Hello guys, please tell how to check email availability by using Ajax ?
2 Answers
0
You have to create a script in your server that receives email as POST, checks for availaibility in database and sends a response. You can then use the fetch API in JavaScript to send the request to that script and receive the response
0
You mean checking if random generated or picked email address exists?
Sounds like hacking and illegal^^
And anyway, that not really possible (at worst, you must have send email, and see if email server send you an unreachable error... but not with AJAX, until the mail hoster would provide such service (but I doubt any would, as it will be abused by spammers ;P)
Conversely, you could check for email address "VALIDITY" (that's not the same than "availability"... but a wide support of every combination that could reveal an email address is quite complex to achieve ^^ Usually, we test rather for a common subpart or biggest ensemble...