So I have some code //var urlPathReset = Request.Url.AbsoluteUri.ToString().Replace("RequestReset", "PasswordReset"); var urlPathReset = string.Format("{0}/{1}/{2}", passwordResetUrl, "resettoken", confirmationKey);
var body = new StringBuilder();
body.Append("A password reset has been requested for your account. ");
body.Append("If you are the one who requested it, please click the link below to enter your new password. ");
body.Append("If you did not request this reset, please ignore the email and your password will not be changed.");
body.AppendLine();
body.AppendLine();
// PCSMYP-141 Now it's a link!
// It might be encoded, or there might need to be more changes
body.AppendFormat("Password Reset Link: {0}", "<a Href=" + urlPathReset + ">Click here to reset password</a>)");
emailQueue.Body = body.ToString();
Now the link should look something like this... Localhost:4xxx/urlPath
but instead it looks something like....
I originally thought this would be okay--but this doesn't navigate to anything.
Any ideas?