aqui pongo en codigo html junto con el PHP.
<html>
<head>
<title> >>>>>> joss<<<<<< < Construccion > </title>
</style>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="Expires" content="-1" />
</head>
<body bottommargin="0" rightmargin="0" topmargin="0" leftmargin="0" bgcolor="#FFFFFF"
text="#999999" link="#999999" vlink="#999999" alink="#999999">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-top: 0;
margin-left: 10">
<tr>
<td>
<p align="center" style="margin-top: 20">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="460" height="173">
<tr>
<td height="25" valign="top">
<!--
Este script es para un pequeño formulario de contacto.
Se envia a la dirección que pone en mail.
-->
<?
if($enviar)
{
if (mail("[email protected]",$asunto,$mensaje,"From : $nombre <$email>")==1)
{
echo "El email se ha enviado con éxito.";
}
else
{
echo "Error enviando el mail";
}
}
else
{
?>
<!--
En "action" se debe indicar el nombre de la página que enviara el
mail, en este caso la misam.
En "name" de los input/textarea seran variables que se podran usar.
-->
<p>Use este formulario para mandarme un mail.</p>
<form method="post" action="mail3.html">
<p>
Nombre:<br />
<input type="text" name="nombre" /><br />
Email:<br />
<input type="text" name="email" /><br />
Asunto:<br />
<input type="text" name="asunto" /><br />
Mensaje:<br />
<textarea name="mensaje" cols="30" rows="5"></textarea><br />
<br />
<input type="submit" name="enviar" value="Enviar" />
</p>
</form>
<?
}
?>
</td>
</tr>
<tr>
<td colspan="2" valign="top" height="30"><font face="Verdana"
size="1"> </font></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
ok amigos estoy esperando sus comentarios
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)