", $emailBody); // send the email mail($to, $emailSubject, $emailBodyHTML, implode("\r\n", $headers)); // redirect to the 'thank you' page header("Location: /preprod/thank-you/index.html"); } ?>