include_once("mymail.inc.php"); if($_POST["hidden_test"] <> "" ) { $to = "majordomo@tcd.ie"; //$to = "marcusw@maths.tcd.ie"; $subject = ""; $eol = "\n"; $body = "approve Vatt8nge subscribe surfers-list ".$_POST["email"]; $headers .= 'Return-Path: marcusw@maths.tcd.ie'.$eol; // these two to set reply address $headers .= "X-Mailer: PHP v".phpversion().$eol; // These two to help avoid spam-filters //echo "
".$headers.""; //$body = "approve Vatt8nge who surfers-list\r\n"; $res = mymail($to, $subject, $body,$headers); if($res = 1) { echo("
Message successfully sent!
"); } else { echo("Message delivery failed...
".$res); } } else {?>Enter e-mail here:
//echo "