Hola, me estoy iniciando en el proceso de html y php.., viendo tutoriales etc por internet, logre realizar un codigo html de formulario, basico, y ademas conectarla con un php para que me llegue al email, el problema es que en el email me llega esto: (Remitente desconocido) (sin asunto) y dentro del email Nombre: Email: Ciudad: Fono: Comentario: Enviado: 08-10-11 a las 07:08:11
<!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=utf-8" />
<title>Documento sin título</title>
</head>
<style type="text/css" media="screen">
* {font-family:Arial, Helvetica, sans-serif; color:#000;}
body {background-color:#eee; margin-top: 5%}
</style>
<body>
<form action="enviar.php" method="post" enctype="text/plain">
<table border="0" cellpadding="0" cellspacing="0" width="500px">
<tr>
<td>Asunto:</td>
<td><input type="text" name="asunto" /></td>
</tr>
<tr>
<td>Nombre:</td>
<td><input type="text" name="nombre" /></td>
</tr>
<tr>
<td>Ciudad:</td>
<td><input type="text" name="ciudad" /></td>
</tr>
<tr>
<td>Em@il:</td>
<td><input type="text" name="email" /></td>
</tr>
<tr>
<td>Fono/Cel.:</td>
<td><input type="text" name="fono"/></td>
</tr>
<tr>
<td>Comentarios:</td>
<td><textarea name="comentario" cols="40" rows="8"></textarea></td>
</tr>
<tr>
<td><input type="submit" name="submit" value="Enviar" /></td>
</tr>
</table>
</form>
</body>
</html>
PHP
<?php
$fecha=date("d-m-y");
$hora=date("h:i:s");
$destino="
[email protected]";
$asunto=$_POST["asunto"];
$desde= "From:" .$_POST["email"];
$comentario="
Nombre: $_POST[nombre];
Email: $_POST[email];
Ciudad: $_POST[ciudad];
Fono: $_POST[fono];
Comentario: $_POST[comentario];
Enviado: $fecha a las $hora
";
mail($destino, $asunto,$comentario,$desde);
?>
en que estoy fallando? gracias!!!