You can do some thing similar to the following:
$message = "Please click on this link to verify your email address given <a target="_blank" href="https://stackoverflow.com/questions/10990240/{your_url}/confirm_email.php?id={user given email which is encrypted}">{your_url}/confirm_email.php?id={user given email which is encrypted}</a>";
So when the user clicks the link from the mail it would be redirected to your Php page (confirm_email.php) where you can decrypt the id parameter ($_REQUEST[‘id’]) and verify it with the email already provided by the user.
solved sending a email confirmation mail using php [closed]