<form method="POST" action="contactenos.php" name="Contactenos">
<table border="0" width="100%" style="font-family: Arial, Verdana, Tahoma; font-size: 10pt; color: #000000" cellspacing="4">
<tr>
<td width="168">Nombre:</td>
<td>
<input type="text" name="Nombre" size="44"></td>
</tr>
<tr>
<td width="168">Correo electrónico:</td>
<td>
<input type="text" name="Correo" size="44"></td>
</tr>
<tr>
<td width="168">Asunto:</td>
<td>
<input type="text" name="Asunto" size="44"></td>
</tr>
<tr>
<td width="168">Comentarios:</td>
<td>
<textarea rows="9" name="Comentarios" cols="39"></textarea></td>
</tr>
</table>
<p>
<input type="submit" value="Enviar" name="Enviar">
<input type="reset" value="Borrar" name="Borrar">
</p>
</form>
<?
$nombre = $_POST['Nombre'];
$correo = $_POST['Correo'];
$asuntousuario = $_POST['Asunto'];
$comentarios = $_POST['Comentarios'];
$header = 'From: ' . $correo . " rn";
$header .= "X-Mailer: PHP/" . phpversion() . " rn";
$header .= "Mime-Version: 1.0 rn";
$header .= "Content-Type: text/plain";
$mensaje = "Nombre: " . $nombre . " rn";
$mensaje .= "E-mail: " . $correo . " rn";
$mensaje .= "Asunto: " . $asuntousuario . " rn";
$mensaje .= "Comentarios: " . $comentarios . " rn";
$mensaje .= "Enviado el " . date('d/m/Y', time());
$para = 'cualquiercosa@midominio.com';
$asunto = 'Contactenos';
mail($para, $asunto, utf8_decode($mensaje), $header);
echo 'Gracias por tu Visita.';
?>