Debugging I saw that the SendEmailAsync method of controller does not run and does not return error, it is simply ignored, all the partions are correct userId em>, code and protocol .
string code = await _userManager.GenerateEmailConfirmationTokenAsync(user.Id);
var callbackUrl = Url.Action("ConfirmEmail", "Account", new { userId = user.Id, code = code }, protocol: Request.Url.Scheme);
await _userManager.SendEmailAsync(user.Id, "Confirmar sua conta", "Confirme sua conta clicando <a href=\"" + callbackUrl + "\">aqui</a>");
Does anyone know what it can be?