PHP File for testing:
[php]<?php
$to = "[email protected]";
$subject = $_REQUEST[‘natureofinquiry’];
$message = $_POST[‘message’] ;
$from = "[email protected]";
$headers = “From:” . $from;
$send = mail($to, $subject, $message, $headers) ;
if($send && ($body != “”)){
header( "Location: http://www.tristatecasinoparties.com/thankyou.htm" ) ; }
else
{ header( “Location: http://www.tristatecasinoparties.com/problem.htm” ) ; }
?>[/php]
Email is sending but only with hardcoded values. No values from form are passing to php file. Helpdesk says server is ok. What am I missing?