Even though I've been trying to do this sendmail page in various codes for five weeks now, I still have to confess to having no idea what it is your talking about. The confusion is all mine.
Here is the send mail asp code, please advise followed by the page form code please advise.
asp
<%
sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(sch & "sendusing") = 2 ' cdoSendUsingPort
.Item(sch & "smtpserver") = "intmail"
.update
End With
Set cdoMessage = CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "comments@pizzapal.co.uk"
.To = "comments@pizzapal.co.uk"
.Subject = ""
.TextBody = ""
.Send
End With
Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>
sendmail page
<table width="640" height="400" border="0" align="center">
<tr>
<td>
<html>
<head>
<title>emailform</title>
<style type="text/css">
<!--
.style3 {
color: #000000;
font-weight: bold;
font-size: 16px;
}
.style4 {font-family: Geneva, Arial, Helvetica, sans-serif}
.style7 {font-family: Geneva, Arial, Helvetica, sans-serif; font-weight: bold; }
.style8 {font-size: 16px}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body>
<form method="post" action="SendMail.asp">
<p align="center"><span class="style3"><span class="style4">Complete this form and click the submit-button. </span></span></p>
<p align="center"><span class="style3"><span class="style4">We will answer your
questions as soon as possible. </span><br>
</span><br>
<span class="style7">Your name </span><br>
<input name="name" type="text" id="name" size="25">
<br>
<span class="style7"><strong>Your email</strong></span><br>
<input name="email" type="text" id="email" size="25">
<br>
<select name="subject" size="1">
<option value="help">contact
<option value="tips">buying
<option value="other">selling
</select>
<br>
<span class="style7">Enter your question </span><br>
<textarea name="question" cols="40" rows="15" Wrap="PHYSICAL" id="question"></textarea>
<br>
<input type="submit" class="style7" value=" Submit ">
</p>
</form>
</body>
</html>
</td>
</tr>
</table>
thank you
sabby