/**php
if (!isset($_POST['submit'])) {
echo "error; you need to submit the form!";
}
$name = $_POST['name'];
$message = $_POST['message'];
$phone = $_POST['number'];
$country = $_POST['country'];
$course = $_POST['course'];
$email_from = ''; //<== update the email address
$email_subject = "New Form submission";
$email_body = "You have received a new message from the user $name.\n" .
"Desired Course is $course.\n" .
"Desired Country is $country.\n" .
"User Contact is $phone.\n" .
"Here is the message:\n $message" .
$to = "info@october.com"; //<== update the email address
$headers = "From: $email_from \r\n";
//Send the email!
mail($to, $email_subject, $email_body, $headers);
//done. redirect to thank-you page.
header('Location:');
**/ ?>