I have a custom registration form with three options(premium, trial and group). The premium user does not need email verification but other two do. So I need to send verification email pro-grammatically.
I have searched google where I got only options for some modules. But my need is only sending an email with unique URL for verifcation.
Please suggest me the drupal function that helps me achieve this.