Forums
This topic is locked
Email this page
Posted 28 Aug 2002 16:21:47
1
has voted
28 Aug 2002 16:21:47 John Gallagher posted:
Anyone know how to put the url of a dynamic page like "localhost/telegraph-asp/article-detail.asp?article_id=16"in an email body to be used as an "email this page" link.
I have been told to do something like this -
<pre id=code><font face=courier size=2 id=code> <a href="mailto: ?subject=Have a look at this&body=Interesting article at (http_referer), check it out."><img src="images/email-thisadd.gif" width="87" height="17" border="0" alt="Send this article to a friend"></a></font id=code></pre id=code>,
But I think the http_referer is wrong.
Any thoughts?.
Later,
Webcrafty
Replies
Replied 05 Sep 2002 10:26:05
05 Sep 2002 10:26:05 Andrew Watson replied:
try...
<pre id=code><font face=courier size=2 id=code> <a href="mailto: ?subject=Have a look at this&body=Interesting article at <%= Request.ServerVariables("HTTP_HOST"%>/<%= Request.ServerVariables("URL" %>, check it out."><img src="images/email-thisadd.gif" width="87" height="17" border="0" alt="Send this article to a friend"></a></font id=code></pre id=code>
:: Son, im Thirty.... ::
<pre id=code><font face=courier size=2 id=code> <a href="mailto: ?subject=Have a look at this&body=Interesting article at <%= Request.ServerVariables("HTTP_HOST"%>/<%= Request.ServerVariables("URL" %>, check it out."><img src="images/email-thisadd.gif" width="87" height="17" border="0" alt="Send this article to a friend"></a></font id=code></pre id=code>
:: Son, im Thirty.... ::