I have set up the registration form using this chunk of code:
wp_create_user($username, $password, $email);
Note that i have did all kinds of validation before use this code. The registration is working fine now. But it register and activate the user account immediately after the form get submitted.
What i want is confirming the email of a user before they can use the account. User have to check there email account and click the confirmation link and user account get registered/active.