All pastes #514762 Raw Edit

Stuff

public php v1 · immutable
#514762 ·published 2007-05-27 22:00 UTC
rendered paste body
<FORM method="post" action='?envios=si'>Destinatario: <INPUT type="text" name="para"><br>Tema <INPUT type="text" name="tema"><br>Nombre de autor: <INPUT type="text" name="autor"><br>email autor: <INPUT type="text" name="amail"><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."<" .$amail.">\nReply-To:".$amail."\nX-Mailer: MS Outlook\nReturn-Path: ".$amail;if (@mail ($para, $tema, $mensaje, $cabecera)){echo "Enviado<br>";}else{echo "Error<br>";}}?>