How can I verify if a given gmail address is valid or not?
I'm not asking for a script to check validation nor any regular expression. I only need to know if a person put a valid gmail address in a verify box. Some code which checks Google's database to see if it is a valid gmail address. The same as when we register a new gmail address and it shows a message saying the gmail address already exists. If it is possible to do so with some Google API for Java? I would like to use it in GAE.
I hope there is no way because gmail should not go out of their way to make it easy to harvest lists of email addresses to spam:
Any API that lets you tell whether a string is a gmail address that points to a live account would simply make it easier for spammers to spam that user.
Send them an email with a URL that they can click to confirm that they own the email address.
The link should contain a nonce that you store in a database with the email addy or some information you've signed so you know it came from you.
This kinds of account verification is pretty standard.