当我提交联系表格时,apache没有显示任何内容

I know there are similar people that posted contact form help but I have an issue with mine. Everything works but when I submit I get an e-mail from apache that shows a blank message. However, when I use my own e-mail address in the form input , it works.

Here is my code

<?php 
if(isset($_POST['submit'])){}
$name = $_POST['name'];
$email = $_POST['email'];
$minrooms=$_POST['mrooms'];
$message = $_POST['comment'];
$formcontent="From: $name 
 Email: $email 
 Min Number of Rooms: $minrooms
 Message: $message ";
$recipient = "kellito13@gmail.com";
$subject = "Contact Form";
$mailHeader = "From: $email 
";
send_contact= mail($recipient, $subject, $formcontent, $mailHeader) or die("Error!");
echo "Thank You!";
}
else{
    echo"Error";
}
?>

You have syntax errors in your code with {} and send_contact= mail($recipient, $subject, $formcontent, $mailHeader) or die("Error!");.

It should be something like this:

<?php
if(isset($_POST['submit'])){
    $name = $_POST['name'];
    $email = $_POST['email'];
    $minrooms=$_POST['mrooms'];
    $message = $_POST['comment'];
    $formcontent="From: $name 
 Email: $email 
 Min Number of Rooms: $minrooms
 Message: $message ";
    $recipient = "kellito13@gmail.com";
    $subject = "Contact Form";
    $mailHeader = "From: $email 
";
    $send_contact= mail($recipient, $subject, $formcontent, $mailHeader) or die("Error!");
    echo "Thank You!";
}
else{
    echo"Error";
}
?>