<?
//---Recupero los datos!!!
$cliente = $_POST['cliente'];
$mailContacto = $_POST['mailContacto'];
$txtDetalle = $_POST['txtDetalle'];
$to = "
[email protected]";
$from = "$mailContacto";
$headers = 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers = "From: ".$from ."\r\n";
$asunto = "Asunto de prueba";
$body = "Cliente: ".$cliente. "<br>";
$body .= "E-Mail: ".$mailContacto. "<br>";
$body .= "Consulta: <BR>-------------------------------<BR> ";
$body .= nl2br(htmlentities($txtDetalle));
mail($to,$asunto,$body, $headers);
echo "<script language=javascript> location = 'frm_enviar.php?&envio=ok';</script>";
?>
Fijate que la variable $body voy concatenando los datos del formulario. Eso es lo que te decía antes. Probalo y espero que te funcione!
Sludos.