Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $email = "andy.watkins2@gmail.com";
- // send an email to the given email address
- $subject = "Math 23 ProofLogger: Points Alert";
- $body = "You're receiving this email because either Paul or a section leader recognized that though you have registered for the Math 23 ProofLogger, you haven't actually acquired any points yet, whether from hosting a party, proving, or listening, and they believe that by this point in the course it's wise for you to start doing more.\n\nThis is by no means a condemnation of how you're approaching the course, but we would remind you that proofs make up a substantial proportion of your grade, as well as your best shot at extra credit.";
- $body = wordwrap($body, 70);
- $headers = 'From: andy.watkins2@gmail.com' . "\r\n" .
- 'Reply-To: andy.watkins2@gmail.com' . "\r\n" .
- 'X-Mailer: PHP/' . phpversion();
- if (mail($email, $subject, $body, $headers))
- echo "success!";
- ?>
Add Comment
Please, Sign In to add comment