"; exit; } // prepare email body text $Body = ""; $Body .= "Nombre: "; $Body .= $Nombre; $Body .= "\n"; $Body .= "Email: "; $Body .= $Email; $Body .= "\n"; $Body .= "Telefono: "; $Body .= $Telefono; $Body .= "\n"; $Body .= "Comentario: "; $Body .= $Comentario; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>"); // redirect to success page if ($success){ header( 'Location: http://ultraperu4k.esy.es/enviado.html' ) ; } else{ print ""; } ?>