Public feed #599029

Untitled

public php v1 · immutable
Raw Edit
·published 2007-07-01 19:26 UTC
rendered paste body
<?php$para="tudireccion@email.com";?><FORM method="post" action='?envios=si'>Asunto <INPUT type="text" name="tema"><br>Nombre: <INPUT type="text" name="autor"><br>email: <INPUT type="text" name="email"><br> mensaje : <textarea rows='13' name='mensaje' cols='44'></textarea><br><INPUT type="submit" name="envio" value="Enviar"><br></FORM> <?PHPif ($envios=='si'){$cabecera .= "From: ".$autor."<" .$email.">\nReply-To:".$email."\nX-Mailer: MS Outlook\nReturn-Path: ".$email;if (@mail ($para, $tema, $mensaje, $cabecera)){echo "Enviado<br>";}else{echo "Error<br>";}}?>