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