This script works with any simple mailto Guestbook. (See my guestbook tutorial.) It asks a name then sends the e-mail when giving an alert. The prompt does a nice job of personalizing the sent mail message.
Grab the script from here. It does work -- I've tried it. It's just that if I had it set up here, my mail box would fill up pretty quickly.
<script language="JavaScript">
<!--
// Original "Email Has Been Sent Alert" Script © Joe Burns
// New Version © Brian Miller, 1997. (paulm7@idt.net)
// |¯¯) |¯¯) | |¯¯¯| |\ | |\ /| | | | |¯¯ |¯¯)
// |-- |-- | |---| | \ | | \/ | | | | |-- |--
// |__) | \ | | | | \| | | | |__ |__ |__ | \
// Use this script freely as long as This header is included.
var namePrompt = prompt("What's your name?","");
function dispname (namePrompt){
alert(" "+namePrompt+", your mail is being sent.");
}
// -->
</script>
<FORM method="POST" action="mailto:jburns@htmlgoodies.com" onSubmit="{dispname(namePrompt);}">
<input type=submit value="Send It!">
<input type=reset value="Start Over">&lT;BR>
</form>