I am having a real problem trying to get a URL complete with the full query string to appear in a mailto:
I am able to display the URL sucessfully above the email link, and also in the alt text for the image that is being used in the <a href="mailto:
The URL is in the following format: http://My-Website.com/ProductDetails.asp?SubCatagoryID=476&ProductID=1211&ProductDetailID=117
Here is the code that im trying to use:
<% Dim ThisPage Thispage = "http://" & Request.ServerVariables("SERVER_NAME") & Request.ServerVariables("URL") & "?" & Request.Querystring %> <td width="50%" align="right"><% response.write ThisPage %><a href="mailto:?subject=Send to Freind: send to freind &body=Hi, take a look at this item on the xxx xxxx website, '<%= rsDetail.Fields.Item("ProductName").Value %>' : <% response.write ThisPage %>"> <img src="images/email-link.jpg" border="0" alt="<% response.write ThisPage %>"></a>
The URL with full Query String appears fine before the link, and work fine in the alt tag, but the one in the email cuts off half way through and appears like this:
It should look like this:
How can I correct this? Please help im tearing my hair out....