You guys are such great help I figure I'll ask another question. I know - I should stick to real estate. :)
I am going to paste my .asp code below and the error I get and could you please tell me why I'm getting this error.
CODE:
<html>
<head>
<title>Thank you for requesting a free CMA.</title>
</head>
<body>
<font size="6">Registration Confirmed</font></p>
<%
Firstname = Request.Form("first_name")
Lastname = Request.Form("last_name")
HouseNumber = Request.Form("house_number")
StreetName = Request.Form("street_name")
City = Request.Form("city")
State = Request.Form("state")
ZipCode = Request.Form("zipcode")
AdditionalInfo = Request.Form("additional_info")
EmailAddress = Request.Form("email_address")
PhoneNumber = Request.Form("phone_number")
ContactTime = Request.Form("contact_time")
Response.Write "Firstname = " + Firstname + "
"
Response.Write "Lastname = " + Lastname + "
"
Response.Write "HouseNumber = " + HouseNumber + "
"
Response.Write "StreetName = " + StreetName + "
"
Response.Write "City = " + City + "
"
Response.Write "State = " + State + "
"
Response.Write "ZipCode = " + ZipCode + "
"
Response.Write "AdditionalInfo = " + AdditionalInfo + "
"
Response.Write "EmailAddress = " + EmailAddress + "
"
Response.Write "PhoneNumber = " + PhoneNumber + "
"
Response.Write "ContactTime = " + ContactTime + "
"
MailForm = ""
MailForm = MailForm + "Firstname = " + Firstname + vbCrLF
MailForm = MailForm + "Lastname = " + Lastname + vbCrLF
MailForm = MailForm + "HouseNumber = " + HouseNumber + vbCrLF
MailForm = MailForm + "StreetName = " + StreetName + vbCrLF
MailForm = MailForm + "City = " + City + vbCrLF
MailForm = MailForm + "State = " + State + vbCrLF
MailForm = MailForm + "AdditionalInfo = " + AdditionalInfo + vbCrLF
MailForm = MailForm + "EmailAddress = " + EmailAddress + vbCrLF
MailForm = MailForm + "PhoneNumber = " + PhoneNumber + vbCrLF
MailForm = MailForm + "ContactTime = " + ContactTime + vbCrLF
Set smtp = Server.CreateObject("CDO.Message")
smtp.From = "webmaster@kaytrimbath.com"
smtp.To = "kay@kaytrimbath.com"
smtp.Subject = "Data received on your form"
smtp.TextBody = MailForm
smtp.Send
Set smtp = Nothing
%>
</body>
</html>
OUTPUT:
Registration Confirmed
Firstname = test
Lastname = test
HouseNumber = 3110
StreetName = test
City = test
State = test
ZipCode = 20678
AdditionalInfo = test
EmailAddress =
test@testmail.com
PhoneNumber = 555-555-5555
ContactTime = AM
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'SendUsing'
/cmaformhandler.asp, line 55