Contacto
$from = $_POST['email'];
$subject = 'subject';
$message = 'From: ' . $_POST['name'] . "\n". 'Mensaje:' . $_POST['data'];
$headers = "From: ". $from . "\n";
mail (alcalde@mozodieldesanchiñigo.es, $subject, $message, $headers);
header('Location: thanks.html');
?>