>
To:
From:
E-Mail:
Subject:



This SPAM free script is available from Arkie.Net Attempting to send message

\n"; $userip = ($_SERVER['X_FORWARDED_FOR']) ? $_SERVER['X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; // Build message Body $body = ""; if( isset( $_POST["AllFields"] ) ) { foreach( $_POST as $key => $value ) { if( $key == "To" ) { $body .= sprintf( "%s: \"%s\" <%s>\n\n", $key, $eMail[$value][0], $eMail[$value][1] ); } else if( ( $key != "AllFields" ) && ($key != "Submit" ) ) { $body .= sprintf( "%s: %s\n\n", $key, $value ); } } } else { $body = $_POST["Body"]; } if( get_magic_quotes_gpc() == 1 ) { $_POST["Subject"] = stripslashes( $_POST["Subject"] ); $body = stripslashes( $body ); } // Check for BCC injection... $checkInject = $_POST["From"] . "|" . $_POST["EMail"] . "|" . $_POST["Subject"] . "|" . $userip; if( preg_match( "/[\r\n]/", $checkInject ) ) { echo "Sorry! Spaming from this script is not allowed."; exit; } // Send the message if( mail( '"' . $eMail[$_POST["To"]][0] . '" <' . $eMail[$_POST["To"]][1] . '>', $_POST["Subject"], $body, 'Return-Path: "' . $_POST["From"] . '" <' . $_POST["EMail"] . ">\n" . 'From: "' . $_POST["From"] . '" <' . $_POST["EMail"] . ">\n" . 'Reply-To: "' . $_POST["From"] . '" <' . $_POST["EMail"] . ">\n" . (($ccSender)? 'Cc: "' . $_POST["From"] . '" <' . $_POST["EMail"] . ">\n" : "" ) . "X-Mailer: PHP/" . phpversion() . "\n" . "X-From-IP: " . $userip ) ) { if( isset( $url ) ) { ob_end_clean(); echo "Message Sent Successfully\n"; echo '\"\n"; echo "

Message Sent Successfully

\n"; echo "You should be automatically forwarded in 5 seconds or "; echo "click here."; } } else echo "UNABLE To Send Message."; } ob_flush(); ?>