Greetings $recipient,

$sender is offering to trade an exclusive Lord of the Rings: Two Towers digital trading card with you.

Click here to find the trading card. (Requires Adobe Acrobat Reader.)

Enjoy!



RepriseNewline
EOF; $textmessage = "Greetings $recipient\n\n, $sender is offering to trade an exclusive Lord of the Rings: Two Towers digital trading card with you.\n\n Click here to find the trading card: http://lordoftherings-soundtrack.com/international/cards/orc_card_1.pdf (requires Adobe Acrobat Reader: http://www.adobe.com/products/acrobat/readstep2.html).\n\nEnjoy!"; //add From: header $headers = "From: $sender<$sender>\r\n"; //specify MIME version 1.0 $headers .= "MIME-Version: 1.0\r\n"; //unique boundary $boundary = uniqid("HTMLDEMO"); //tell e-mail client this e-mail contains//alternate versions $headers .= "Content-Type: multipart/alternative" . "; boundary = $boundary\r\n\r\n"; //message to people with clients who don't //understand MIME $headers .= "This is a MIME encoded message.\r\n\r\n"; //plain text version of message $headers .= "--$boundary\r\n" . "Content-Type: text/plain; charset=ISO-8859-1\r\n" . "Content-Transfer-Encoding: base64\r\n\r\n"; $headers .= chunk_split(base64_encode("$textmessage")); //HTML version of message $headers .= "--$boundary\r\n" . "Content-Type: text/html; charset=ISO-8859-1\r\n" . "Content-Transfer-Encoding: base64\r\n\r\n"; $headers .= chunk_split(base64_encode("$htmlmessage")); if (ereg(".*\@.*\..*", $recipient)) { $finalSubject = stripslashes($subject); //$finalMessage = stripslashes($message); // check if mail is sent out and echo appropriate values for flash // if(mail($recipient, $finalSubject, $finalMessage, $headers)) { if(mail($recipient, $finalSubject, "", $headers)) { //echo "&status=complete&"; $status = 'complete'; } else { //echo "&status=error&msg=could not send"; } } else { //echo "status=error&msg=invalid email"; } } ?> Bonus Two Towers Enhanced Content
Trading CardWallpaperBuddy IconsScreen SaversVideoLinks
 
TRADING CARD
 
Print or trade this card with others.
Email this card to a friend
Thanks!\n"; } ?>
   
 
CLICK HERE to download a printable PDF file of this card.
Get Adobe Acrobat Reader.
 
Reprise Records Newline
Soundtrack Site Motion Picture Site
2002 New Line Productions, Inc TM The Saul Zaentz Company. d/b/a Tolkien Enterprises Under license
to New Line Production, Inc. All Rights Reserved