For me, checking if an email exists only serves to send spam. So I don’t care how to solve this issue. I don’t even want to know if you have the mailbox address or the domain name.
Check if someone who is registering somewhere and has a valid email (in every sense), including if it is his, only has two solutions.
The first has already been cited the other reply, so I already voted on it, have to send a message to the user where he confirms that he received. It’s flawed, but it doesn’t have much to do. It actually works in almost every case if the UX is good.
The other is to do it right, that is, don’t ask the person to register, ask them to authenticate. Use his data requiring less effort than registering and know that not only does the email exist, but it belongs to those who are registering, with no other interaction besides immediate access to the authorization page of the authenticator chosen.
Could be the Google, Facebook, Microsoft, and many others, even some niche, as this site.
Look for Oauth (list of international providers), Single Sign On, User-Managed Access, Openid, OATH, just to stay on some.
None is a panacea. Use a fallback if the user cannot use such a provider, then confirm by sending a token for him to authenticate, the first solution.
If none of that settles, sit down and cry :)
The google api-client-library, has an HTTP Request watch, POST https://www.googleapis.com/gmail/v1/users/userId/watch. where the userid is the email. If this email is invalid, return an error message. See link: https://developers.google.com/gmail/api/v1/reference/users/watch?hl=pt-BR
– alxwca
The only way to verify if an email exists (or if there is at least one alias) is to send the email and check if it was successful (preferably with a confirmation link). The rest is kick.
– Bacco
Unless you went to Google, for example, which has other ways of knowing this (probably the address of almost every person has passed through their servers countless times). Anyway, between knowing and releasing an API for this has an ethical chasm.
– Bacco