I am trying to send emails out from a Visual Studio program that have a hyperlink in them back to the system. The result I am getting is the following:
Risk Number: <a href="http://server.link/System/CreateUpdate.aspx?ID=51&ED=true&From=Current">51</a>.
The <a href=".........."> and the </a> are not supposed to be visible and for some reason is the hyperlink. The number 51 is supposed to be a hyperlink, but it is just being displayed as text, and the http:..... is supposed to be the link for the number 51.
Here is my code:
riskInfo =
"Risk Number: <a href=\""+ System.Configuration.ConfigurationSettings.AppSettings["Url"]+ risk.ToString() + "&ED=true&From=Current\">"+ risk.ToString() +"</a>"+"."
+
"\n\n"+ drRiskEmail["RiskDesc"].ToString()+ "\n\n"+"Entered By:\n"+
drRiskEmail[
"firstname"].ToString() +" "+ drRiskEmail["surname"].ToString();HELP PLEASE........