I am trying to get an email sent when a user is created in Asp.Net Identity that allows them to confirm an email address. The message "No IUserTokenProvider is registered" continues to pop-up. This is how I have it configured. Note: Can you assist in getting
the app to send an email with the token?
This code is in a custom web form page that creates a new user and GenerateEmailConfirmationToken
protected void addUser_btn_Click(object sender, EventArgs e)
{
string uname = username_txt.Text;
string pwd = password_txt.Text;
string email = email_txt.Text;
var manager = new UserManager();
var user = new ApplicationUser() { UserName = uname };
IdentityResult result = manager.Create(user, pwd);
if (result.Succeeded)
{
manager.SetEmail(user.Id, email);
manager.AddToRole(user.Id, "CouncilAdmin");
...
Go to the complete details ...