When we receive messages through our site, the 'sender' of the email is listed as "newwavea@host424.hostmonster.com", rather than the address of the person who submitted a message. Could you check my PHP and see where I've gone wrong? Thanks. Here's the WEBPAGE LINK
<?php
if(!empty($_POST['full-name1']) or !empty($_POST['email1']) ) {
header('Location: success.html');
}
$name = $_POST['full-name'];
$email = $_POST['email'];
$message = $_POST['message'];
$from = 'From: SSR';
$to = 'info@new-wave-academy.com'; // send to this address
$subject = $_POST['subject'];
$body = "From: $name
Email: $email
Message:
$message";
mail($to, $subject, $body);
header("Location: http://new-wave-academy.com/Contact/success.html"); /* Redirect browser */
exit();
?>