%@ Language=VBScript %>
<%
message=""
if Request.QueryString("sendmail")="yes" then
objoccupation = Request.Form("occupation")
objsubjectks = Request.Form("subjectks")
objfindsite = Request.Form("findsite")
objrate = Request.Form("rate")
objusematerials = Request.Form("usematerials")
if len(objusematerials)=0 then
objusematerials = "blank"
else
end if
objcomments = Request.Form("comments")
if len(objcomments)=0 then
objcomments = "blank"
else
end if
objemailadd = Request.Form("emailadd")
objupdate = Request.Form("update")
if len(objupdate)=0 then
objupdate = "no"
else
end if
'Response.Write "
" & objoccupation
'Response.Write "
" & objsubjectks
'Response.Write "
" & objfindsite
'Response.Write "
" & objrate
'Response.Write "
" & objusematerials
'Response.Write "
" & objcomments
'Response.Write "
" & objemailadd
'Response.Write "
" & objupdate
Const cdoSendUsingPort = 1
'Create the message object.
Set iMsg = CreateObject("CDO.Message")
'Create the configuration object.
Set iConf = iMsg.Configuration
With iConf.Fields
.item("http://schemas.microsoft.com/cdo/configuration/sendusing") = cdoSendUsingPort
.Update
End With
set iMsg = CreateObject("CDO.Message")
set iConf = CreateObject("CDO.Configuration")
Set Flds = iConf.Fields
strBody = "