Sourabh Dhiman

Sourabh Dhiman

  • 1.7k
  • 303
  • 10.6k

Reset Link on mail .net core.

Jul 21 2020 4:14 AM
string message = $"Hello {FName.FirstName}! We have recieved your Reset Password request. Please click the link to Reset Password. URL :{Request.RequestUri.Scheme}://{Request.RequestUri.Host}:{(Request.RequestUri.IsDefaultPort ? string.Empty : Request.RequestUri.Port.ToString())}{"/api/Login/ResetPassword?uid="}{ user.UserId}";
 
Not run this code for genrate a reset Password link in .net core 

Brought to you by:

Answers (4)