Hi, No it IS sending this: (customer fills out form and it sends it off to x@yz.com)
$to = " xyz ";$subject = "Enquiry from www.reclaimed-antique-wood-flooring.com";$email = $_REQUEST['email'] ;$message = $_REQUEST['message'] ;$headers = "From: $email";
and it IS doing this: (redirecting visitor to xyz depending on input, after submit is clicked)
if($email == ''){header( "Location: /contact-us/no-email-address" );}else{if($message == ''){header( "Location: /contact-us/no-message" );}else $sent = mail($to, $subject, $message, $headers) ;$sent2 = mail($from, $subject2, $autoreply, $headers2);if($sent){header( "Location: /contact-us/submit-succesful" );}}?>
but it ISN'T doing this: (sending a response to visitors email address thanking them for contacting us)
$autoreply = "auto repsonse here";$headers2 = "From: xyz ";$subject2 = "Thank you for contacting us";
Hope that makes sense!