Shion_Dan_Aries que tal?
yo lo haria de otra forma, que deberia funcionar:
algo asi seria:
Código PHP:
<?
if(!isset($_POST['submit'])){
?>
<form action="<? echo $_SERVER['PHP_SELF']; ?>" method="post">
<table>
<tr>
<td>nombre</td>
<td><input type="text" name="nombre"></td>
</tr>
<tr>
<td>email</td>
<td><input type="text" name="email"></td>
</tr>
<tr>
<td><textarea name="mensaje"></textarea></td>
</tr>
<tr>
<td><input type="submit" name="submit" value="goooo">
</tr>
</table>
</form>
<?
}else{
$nombre = $_POST['nombre'];
$email = $_POST['email'];
$mensaje = $_POST['mensaje'];
$sfrom="[email protected]";
$sheader="From:".$sfrom."\n";
$mails = "tumail@....";
$titulo = "mail!";
$mensaje_2 = "$nombre\n$email\n$mensaje";
mail($mails, $titulo, $mensaje_2, $sheader);
}
?>
suerte!