- 1

Checking email availability

Hello guys, please tell how to check email availability by using Ajax ?

1st May 2020, 7:39 AM
Rania Hamadache
Rania Hamadache - avatar
2 odpowiedzi
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
1st May 2020, 8:41 AM
Ore
Ore - avatar
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...
1st May 2020, 9:16 AM
visph
visph - avatar