Try this in JavaScript:
Into the <head> part of the web page:
<script type="text/javascript"><!--
var email_address='you@yourdom
var the_page = "window.location";
var subj_line = "Webpage visited";
function SendMeAnEmail() {
window.location = "mailto:"+document.eMailer
//--></script>
Then, modify the <body> tag with <body onLoad="SendMeAnEmail()">
Main Topics
Browse All Topics





by: jason1178Posted on 2008-12-15 at 16:33:57ID: 23179758
Hi neihu,
You can easily do this with PHP, ASP, or Coldfusion. A small script would fire an email each time the page is loaded and the user would have no idea it is happening because it all occurs on the server.
On the other hand, you will not get any real information about the user other than what is normally available in the access logs.