All pastes #240213 Raw Edit

Stuff

public php v1 · immutable
·published 2006-11-05 17:41 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>";}}?>