I made a small form for sending e-mail. But when I test the send, nothing arrives in the destination email. As I do not have much experience in this part I could not identify the error, since when I send it does not give any. Here's my HTML:
<!doctype html>
<html lang="pt-br">
<head>
<? include "includes/head.php"?>
</head>
<body>
<div id="site">
<div class="container">
<section class="contato">
<? include "includes/topo.php"?>
<div class="envolve">
<h2>CONTATO</h2>
<div>
<p>Preencha o formulário</p>
<form id="form1" name="form1" method="post" action="mail.php">
<input type="text" name="nome" placeholder="Nome:" required>
<input type="email" name="email" placeholder="E-mail:" required>
<input type="tel" name="telefone" placeholder="Telefone:" required>
<input type="text" name="estado" placeholder="Estado:" required>
<textarea name="mensagem" placeholder="Mensagem:"></textarea>
<input type="submit" name="enviar" value="Enviar">
</form>
</div>
<div>
<p>Av. Sumare, 1642 - Sumare - SP</p>
<p><strong>Contratação de artistas</strong></p>
<p>(11) 2977-5177</p>
<span class="fr">
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d3657.666898030628!2d-46.676697399999995!3d-23.544480200000002!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x94ce578cc9a3c755%3A0xe7e810c950cee00b!2sAv.+Sumar%C3%A9%2C+1642+-+Sumar%C3%A9%2C+S%C3%A3o+Paulo+-+SP%2C+01252-120!5e0!3m2!1spt-BR!2sbr!4v1423246864426"width="412" height="298" frameborder="0" style="border:0"></iframe>
</span>
</div>
</div>
</section>
</div>
<? include "includes/rodape.php"?>
</div>
</body>
</html>
My PHP code:
$para = "[email protected]";
$assunto = "Contato pelo site";
$nome = $_POST['nome'];
$email = $_POST['email'];
$telefone = $_POST['telefone'];
$estado = $_POST['estado'];
$mensagem = $_POST['mensagem'];
$corpo = "<strong>Mensagem de contato<br><br></strong>";
$corpo .= "<strong>Nome:</strong>$nome";
$corpo .= "<br><strong>E-mail:</strong>$email";
$corpo .= "<br><strong>Telefone:</strong>$telefone";
$corpo .= "<br><strong>Estado:</strong>$estado";
$corpo .= "<br><strong>Mensagem:</strong>$mensagem";
$header .= "Content-Type: text/html; charset= utf-8\n";
$header = "From: $email Reply-to: $email\n";
@mail($para,$assunto,$corpo,$header);
header("location:contato.php?msg=enviado");