I think what Email It is doing here is just opening a page. The actual emailing part is handled in that page.
Through javascript you can email the link to the current page that you are on. Check this code.
<HTML>
<HEAD>
<TITLE> Email </TITLE>
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function email()
{
var loc="mailto:" + document.frm.mailid.value + "&subject=Hi&body=Check out this page -> " + document.URL ;
location.href=loc;
location.reload;
}
//-->
</SCRIPT>
<BODY BGCOLOR="#FFFFFF">
<form name=frm>
Enter your mail ID here :
<INPUT TYPE="text" NAME="mailid" ID="mailid">
<BR><BR>
<INPUT TYPE="button" value="Email This Page" onclick=email()>
</form>
</BODY>
</HTML>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.