Solucionado.
Código PHP:
Ver original<?
if ($_POST) {
//cuerpo del formulario
$cuerpo = "Formulario enviado desde la web:\n";
$cuerpo .= "Nombre: {$_POST['nombre']}\n";
$cuerpo .= "Email: {$_POST['email']}\n";
$cuerpo .= "Telefono: {$_POST['telefono']}";
// nombre de quien envia
$cabeza = "From: {$_POST['nombre']} <{$_POST['email']}>";
//envio correo...
//Agradecimiento,
echo "<p style='text-align: center;'><strong>Gracias por tu solicitud. En breve recibiras nuestras noticias.</strong><br /><br /><img src=images/ok.png></p>";
//Paramos todo lo que hay apartir de aquí.
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=latin1;">
</head>
<body>
<form method="POST">
<label for="nombre"><strong>Nombre:</strong></label><br />
<input type="text" name="nombre" id="nombre">
<br /><br />
<label for="email"><strong>Email:</strong></label><br />
<input type="text" name="email" id="email">
<br /><br />
<label for="telefono"><strong>Teléfono:</strong></label><br />
<input type="text" name="telefono" id="telefono">
<br /><br />
<input type="image" src="images/button.png" alt="Solicitar más información ahora">
</form>
</body>
</html>