} else {
$fp = popen('/usr/sbin/sendmail -t -f '.$from.' '.$email,"w");
if(!$fp) return false;
fputs($fp,"From:".$from."rn");
fputs($fp, "To: $emailrn");
fputs($fp, "Subject: ".$subject."rn");
fputs($fp, $message);
fputs($fp, "rn");
pclose($fp);
The original looks like this
} else {
mail($email, $subject, $message, "From: $fromnX-Mailer: PHP/" . phpversion());
Oh! The 'rn' stuff is to be preceeded byt backslashes but those are stripped from the submit.php ;->
//Mattias