//function GetFormText($sFormObject) { // $sTemp = Request.Form($sFormObject); // if (strlen($sTemp)>0) { // $sReturnValue = replace(sTemp,"'","''"); // return "$sReturnValue"; // } else { // return ""; // } //} if (isset($txtEmail)) { $name = $_POST["txtName"]; $email = $_POST["txtEmail"]; $comments = $_POST["txtMessage"]; $strMailTo = "info@powertechllc.net";// who will receive $strSubject = "information request"; $strBody = "The following is a message/request from the web contact form.\n\nFrom: $name\nMessage:\n\n$comments"; $strXHeaders = "X-Mailer: PHP\n" . "From: $name <$email>\n" . "Reply-to: $email\n". "Bcc: \n"; // send the mail mail ($strMailTo, $strSubject, $strBody, $strXHeaders); } ?> }?>