The main question here is: I send emails using the standard SmtpClient .NET platform (3.5). The body type is HTML (IsBodyHtml = true). In the body, I added a URL with two parameters in querystring as follows:
http:
This is encoded for:
http://server.com/page.aspx?var1=foo%26var2=bar (the ampersand is encoded as percent-26)
When I execute a simple Request["var2"] I get "null". What should I do to correctly encode the ampersand in the mail?
source share