<%@LANGUAGE="VBSCRIPT" %>
<!--#include file="GateKeeper/GateKeeper.inc"-->
<%
Function SendEmail()
Dim Mail
Set Mail = Server.CreateObject("CDONTS.NewMail")
Mail.bodyformat=0
Mail.To = Request.Form("ResipientEmail")
Mail.From = Request.Form("SenderEmail")
Mail.Subject = "demo.com"
Mail.Body = Request.Form("message")
Mail.Send
Set Mail = Nothing
End Function
If Request.Form("tellSubmit") <> "" Then
SendEmail
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="
http://www.w3.org/1999/xhtml"><head>
<title>demo</title>
<link href="css/default.css" rel="stylesheet" type="text/css" />
<link href="css/gatekeeper.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery-1.2.2.pack.js"></script>
</head>
<body>
<div id="tellWrap">
<div id="tellHeader"><a href="index.asp" target="_top"><img src="img/top.gif" border="0" /></a></div>
<div id="tellContent">
<h1>Tell a friend</h1>
<h2>
http://www.hexvix.com</h2> <form method="post" id="form1" name="form1">
<table cellpadding="2" cellspacing="0">
<tr>
<td width="120px" height="30">Salutation:</td>
<td width="250px">Sender's Name:</td>
<td width="260">Sender's eMail Address:</td>
</tr>
<tr>
<td>
<select id="SenderSalutation" name="SenderSalutation">
<option value="Mr.">Mr.</option>
<option value="Miss.">Miss.</option>
</select>
</td>
<td><input type="text" class="tellInput" id="SenderName" name="SenderName" /></td>
<td><input type="text" class="tellInput" id="SenderEmail" name="SenderEmail" /></td>
</tr>
<tr>
<td height="30">Salutation</td>
<td>Resipient's Name:</td>
<td>Resipient's eMail Address:</td>
</tr>
<tr>
<td>
<select id="SenderSalutation" name="ResipientSalutation">
<option value="Mr.">Mr.</option>
<option value="Miss.">Miss.</option>
</select>
</td>
<td><input type="text" class="tellInput" id="ResipientName" name="ResipientName" /></td>
<td><input type="text" class="tellInput" id="ResipientEmail" name="ResipientEmail" /></td>
</tr>
<tr>
<td height="30" colspan="3">Message To Include:</td>
</tr>
<tr>
<td valign="top" width="530px" height="106" colspan="3">
<textarea class="msg" name="Message" id="Message"></textarea>
</td>
</tr>
<tr>
<td colspan="3">
<input type="button" onclick="java script:document.form1.reset();" id="tellSubmit" name="tellSubmit" value=" RESET " />
<input type="submit" id="tellSubmit" name="tellSubmit" value=" SEND " />
</td>
</tr>
</table>
</form>
</div>
<div id="tellFooter"></div>
</div>
</body>
</html>
der var hele koden :)