Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2. $to = "someone@example.com";
  3. $subject = "Test mail";
  4. $message = "Hello! This is a simple email message.";
  5. $from = "someonelse@example.com";
  6. $headers = "From:" . $from;
  7. mail($to,$subject,$message,$headers);
  8. echo "Mail Sent.";
  9. ?>