Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // The message
- // www.site.com/test.php?id=1&pass=lol
- $to = $_GET['to'];
- $code = $_GET['code'];
- $message = "************* PLEASE DO NOT RELPY TO THIS E-MAIL *************\n\nActivation Code: " . $Nick ?;
- // In case any of our lines are larger than 70 characters, we should use wordwrap()
- $message = wordwrap($message, 70);
- //if (mail("", "", "", "")){ echo "succeed";}
- // Send
- if (mail($to, 'Santa\'s Loader Activation', $message)){echo "1"};
- ?>
Advertisement
Add Comment
Please, Sign In to add comment