Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $to = "[email protected]"; // email address to send to
- $from = $_POST['username'];
- $subject = "You have an email from a PKKIT user";
- $message = $from . " wrote the following:" . "\n\n" . $_POST['message'];
- $headers = "From:" . $from;
- mail($to,$subject,$message,$headers);
- // echo "Mail Sent. We will contact you shortly.";
- header("Location: http://cd.bromley.ac.uk/PKKIT/login.html");
- ?>
Add Comment
Please, Sign In to add comment