create user and email conformation(using c#)
how the thing gets done using c#..iam struggling on this as i am new to c#...and one more thing how to test this using iis server
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Dec 13, 2009, 1:34 AM
1 . When we registering the user make user Disabled you can do this by making CreateUserWizard's DisableCreatedUser = false property .when you create user using CreateUser wizard.
2. Now after that Send Mail to user about activation .what should include in activation mail ??
well we should mail Provider key in mail
// Getting Provider Key From membership class
Membershpuser user = Membership.GetUser("username");
string key= user.ProviderKey.ToString();
and Send That Key In mail to User.
.and make one page Activation.aspx in which make one TextBox where user can enter the activation key they received in mail. which we send earlier in mail. if he enters the matching Provider key then Enable user's Account .
Thats it !! :)
Happy Coding :)
if my answer helps you then check "Do you like this answer" check box please :)