so I'm new at this website stuff and im doing at part of my uni course, my tearcher gave me the code. This in my code for my sendmail.php I tested my contact form on my website and I get the 'Failure!' message that is in the code but that is all I get, nothing else. when it was working I would get the email but know information that was put in to the contact form and I haven't change the coding. could someone please help me? Thank you
<?php
/*Here you are going to declare the variables*/
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
//Save visitor name and entered message into one variable:
$formcontent="VISITOR NAME: $name\
\
FEEDBACK: $message";
$recipient = "denisedaykinphotography@gmail.com";
$subject = "Contact Form";
$mailheader = "From: $email\\
";
$mailheader .= "Reply-To: $email\\
";
$mailheader .= "MIME-Version: 1.0\\
";
mail($recipient, $subject, $formcontent, $mailheader) or die("Failure!");
echo "Thank You!";
?>