File: D:/web/thestaintons/webspace/biofeedback/feedback.asp
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
<title>Feedback</title>
</head>
<body bgcolor="#FFFFA4">
<table width="100%" height="100%" border="0" cellpadding="5" cellspacing="0"
bgcolor="#FFFFA4">
<tr>
<td align="center" valign="top" width="200"
bgcolor="#000000">a<img src="Miami_Logo_Blue.gif"
width="222" height="55"></td>
<td height="80"><h1>Feedback</h1>
</td>
</tr>
<tr>
<td width="200" bgcolor="#000000"><a href="Index.htm#top"><font
color="#FFFFA4">Back To Start</font></a></td>
<td rowspan="9" valign="top"><span class="write"><span class="write"><b>Thank
you.</b></span></span><br>
<br>
<%
Dim NL
NL = Chr(13) + Chr(10) + Chr(13) + Chr(10) ' *** may be a better way?
' send the email using Dundas Mailer Control
Dim objEmail 'Mailer control
Set objEmail = Server.CreateObject("Dundas.Mailer")
objEmail.SMTPRelayServers.Add "mail.itpartnership.com"
'set Mailer control properties and collection items
objEmail.TOs.Add "neil@itpartnership.com"
objEmail.FromAddress = "webform@web-space.co.uk"
objEmail.Subject = "Biofeedback Form"
objEmail.Body = "Name : " + Request.Form("Name") & NL &_
"Email : " + Request.Form("Email") & NL &_
"City : " + Request.Form("City") & NL &_
"Tel : " + Request.Form("Tel") & NL &_
"Enquiry : " + Request.Form("Enquiry") & NL
'send email
objEmail.SendMail
'you can test for the success/failure of the operation by examining VBScript's Err object here
Set objEmail = Nothing
%></td>
</tr>
<tr>
<td width="200" bgcolor="#000000"> </td>
</tr>
<tr>
<td width="200" bgcolor="#000000"> </td>
</tr>
<tr>
<td width="200" bgcolor="#000000"> </td>
</tr>
<tr>
<td width="200" bgcolor="#000000"> </td>
</tr>
<tr>
<td width="200" bgcolor="#000000"> </td>
</tr>
<tr>
<td width="200" bgcolor="#000000"> </td>
</tr>
<tr>
<td width="200" bgcolor="#000000"> </td>
</tr>
<tr>
<td width="200" bgcolor="#000000"> </td>
</tr>
</table>
</body>
</html>