I recreated my page to be an .asp page and it does now load into the browser.
When I fill in the information and hit send. Internet Explore sends the error
message...

Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: "cindy"]'

/vicom124/ContactUsTest.asp, line 28

I'm new to this and just not seeing where there is an error? Any help is
greatly appreciated.

Thanks,
Skeeter



<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%
if Request.Querystring("isSubmitted") = "yes" then

Dim nameVar, emailVar, tsubject, tMessage
Dim objCDO

nameVar = Request.QueryString("Name")
emailVar = Request.QueryString("Email_Address")
tsubject = Request.QueryString("Subject")
tMessage = Request.QueryString("Message")

'this is where code is inserted to invoke DCONTS

'This line invokes the object using the name objCDO
Set objCDO=Server.CreateObject("CDONTS.NewMail")

objCDO.From = emailVar
objCDO.To = "sideline@wi.rr.com"
'to cc someone
'objCDO.CC = "emailaddress@email.com"
'to blind copy someone
'objCDO.Bcc = "emailaddress@email.com"
objCDO.Subject = tsubject
objCDO.Body = "Name " & nameVar
objCDO.Email_Address = "Email Address " & emailVar
objCDO.Message = "Message " & tMessage

'BodyFormat=1 for text format, BodyFormat=0 for html format
objCDO.BodyFormat=1
objCDO.MailFormat=1

objCDO.Send

ConfirmMsg = "Your message has been sent. Thanks for submitting your comments."

end if
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Contact Us</title>
<style type="text/css">
<!--
.style3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
-->
</style>
</head>
<body>
<% if ConfirmMsg <> "" then %>
<h3><%=ConfirmMsg %></h3>
<% end if %>

<form action="../ContactUsTest.asp" method="get" enctype="text/plain"
name="input_form" id="input_form">
<table width="700" border="0" cellspacing="10" cellpadding="0">
<tr>
<td align="right"><span class="style3">Name:</span></td>
<td><input name="Name" type="text" id="Name" size="30"
maxlength="50"></td><br>
</tr>
<tr>
<td align="right"><span class="style3">Email Address:</span></td>
<td><input name="Email_Address" type="text" size="30"
maxlength="50"></td>
</tr>
<tr>
<td align="right"><span class="style3">Subject:</span></td>
<td><input name="Subject" type="text" id="Subject" size="50"
maxlength="80"></td>
</tr>
<tr>
<td align="right" valign="top"><span class="style3">Message:</span></td>
<td><textarea name="Message" cols="50" rows="10"
id="Message"></textarea></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input name="isSubmitted" type="hidden" value="yes"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="Submit" value="Submit"></td>
</tr>
</table>
</form>
</body>
</html>