Among other tools you can use "java mail" package to send emails direclty from your application. Here's the link to API docs Java Mail API. So the scenario could be like the following: User account is created. It's in unconfirmed state now; You generate a unique confirmation ID to your applicaiton.
There is really no more reliable way than sending a verficiation email and waiting for confirmation in a short timespan.