<html>
<head>
<title>Formulario</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#666666">
<?
if (($nombre) && ($mail) && ($asunto) && ($mensaje) && ($submit)) {
$tuemail = "[email protected]";
mail($tuemail,$asunto,$mensaje,"From: $mailrnReply-To: $mailrn" ) ;
echo "<b>E-Mail enviado con éxito</b><br>";
}
?>
<form method="post" action="email.php">
<font size="2">Tu nombre:
<input type="text" name="nombre">
<br>
Tu email:
<input type="text" name="mail">
<br>
Asunto:
<input type="text" name="asunto">
<br>
Mensaje:
<input type="text" name="mensaje">
<br>
</font>
<input type="submit" value="Enviar" name="submit">
</form>
</body>
</html>
- El caso es que al recibirlo me pone como emisor, esto: "-To:"@uk-web-3.m2kcore.com . No me sale ni el nombre ni la dirección que previamente se ha introducido.
¿Dónde está el fallo?
- ¿Cómo puedo hacer para quitar la casilla de "asunto" y poder poner yo mismo el asunto que quiera, sin que se pueda modificar?
Soy un poco negao con el PHP asi que con calma porfavor
![Riendo](http://static.forosdelweb.com/fdwtheme/images/smilies/risa.png)
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)