Codice PHP:
<?php
 
if ($_POST["email"]!=""){
 foreach(
$_POST as $key => $value){
    
$msg .= $key.": ".$value."
"
;
//echo "$key: $value
\n"; 
}
//echo 
$msg;
$e="info@xxxx.xx";
$ogg="Modulo prenotazioni";
$mittente="info@xxx.xx";
$reply="info@xxx.xxx";

/*Non modificare nulla al di sotto di questa linea*/ 

$intestazioni = "From$mittente\nReply-To$reply\nX-MailerSismail Web Email Interface\nMIME-version1.0\nContent-typemultipart/mixed;\n boundary=\"Message-Boundary\"\n"

$body_top "--Message-Boundary\n"
$body_top .= "Content-type: text/html; charset=iso-8859-1\n"
$body_top .= "Content-description: Mail message body\n\n"

$msg_body $body_top $msg


if(!(@
mail($e,$ogg,$msg_body$intestazioni))){ 
print 
"<H5>Invio della email fallito.</H5>";


?>
dove è l'errore?


grazie