% function email(strTo, strFrom, strSubject, strBody, lHTMLMail) Dim objMail Set objMail = Server.CreateObject("CDONTS.NewMail") objMail.From = strFrom objMail.Subject = strSubject 'you need TO add these lines FOR the mail 'to be sent in HTML format objMail.BodyFormat = lHTMLMail objMail.MailFormat = 0 objMail.To = strTo objMail.Body = strBody 'on error resume next objMail.Send 'echo "
This server is not configured for CDONT mailer
" set objMail = nothing end function function doAttendcount(Item) if clng(getvar("attendcount")) = clng(Item) then doAttendcount = " SELECTED " end if end function function doSelectObj(selectname,lcur) if clng(getvar(selectname)) = clng(lCur) then doSelectObj = " SELECTED " end if end function function doSelect(item) if lcase(getvar(item)) = "on" then doSelect = " CHECKED " end if end function public function GetVar(vntVar) if Request.Form(vntVar) = vbnullstring then GetVar = Request.QueryString(vntVar) else GetVar = Request.Form(vntvar) end if end function public function writeform() dim formitem for each formitem in Request.Form Response.Write(formitem & " : " & Request.Form(formitem) & "