I get a parse error when I use this code. The offending line is marked. - THIS IS NOT A SPAMMER!!!!! (just thought i'd say that!)
<?
$subject = "The user $form_user wishes to join your clan";
$message = "The user $form_user wishes to join your clan. Please go to your admin panel located
at http://www.tycooneden.com/clan_user_admin.\r\n You can contact the user at $form_email!\r\n\r\n Regards, The Tycooneden admin team!";
?>
<?
$date = date ("l dS of M Y h:i:s");
$to = $clan_admin . " <" . $clan_admin_email . ">";
$headers = "From: \"".addslashes(Tycooneden Admin Staff)."\" <".tecc@tycooneden.com.">\n";
$headers .= "Reply-To: ".tecc@tycooneden.com."\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "X-MSMail-Priority: Normal\n"; // <- The offending line
$headers .= "X-Mailer: some cool mailer\n";
$headers .= "Message-ID: <14582697425813.4872.x@x.com>\n";
$headers .= "X-server: Wouldn't you like to know :P!\n";
$headers .= "Return-Path: <".tecc@tycooneden.com.">\n";
$headers .= "Received: (qmail 3299 invoked by uid 417) $date -0000\n";
$headers .= "Received: from unknown (HELO noone.noone.net) (00.000.00.0)\n by 000.255.0.0 with SMTP $date -0000\n";
mail( $to, $subject, $message, $headers ) or print "Error handling message. message not sent.";
?>