Note the action
you have is that when you click on the send button, there is an overload of the same page. Instead, the action must specify the php file that is processing logic of the letter.
more specifically something like this
and so it should look like mail.php
$mail = "Your email" $name = htmlspecialchars($_POST['feedback-name']); // get user name $mailUser = htmlspecialchars($_POST['feedback-email']); // get the user's email $massage = htmlspecialchars($_POST['feedback-message']); // get user message mail($mail, "the Letter from the form 'Contacts'", "User name".$name."and mailbox".$mailUser."Sent you a message ". $massage. "Don't forget to reply!"); // send the mail in the box
It seems to be so... if nothing is messed up