% Dim machineIs Dim make Dim model isProduct = Request.QueryString("isProduct") if (isProduct = "Toyota9000") then make = "Toyota" model = "9000" elseif (isProduct = "software") then software = "Software" end if %> <%Sub showForm%> Sales Contact / Please send me more information
"
if Request.Form("mailInfo") = "ON" then
htmlbody = htmlbody & "This Customer has requested that sales information be mailed to them. Please mail it to the following address:
"
htmlbody = htmlbody & "Street Address: " & Request.Form("streetAddress") & "
"
htmlbody = htmlbody & "City: " & Request.Form("city") & "
"
htmlbody = htmlbody & "State: " & Request.Form("state") & "
"
htmlbody = htmlbody & "Zip: " & Request.Form("zip") & "
"
end if
With objMessage
' Set message attributes
.To = "larryldsi@datastitch.com"
.From = Request.Form("emailAddress")
.Subject = "Sales Inquiry"
.HTMLBody = htmlbody
.Send
End With
Set objMessage = Nothing
%>
<% end if %>