Created
August 4, 2016 02:42
-
-
Save chrisl8888/d66aa8012a2a5e16ac6af91df431f723 to your computer and use it in GitHub Desktop.
Simple mail test script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$to = "[email protected]"; // REPLACE | |
$subject = "Test mail"; | |
$message = "Hello! This is a simple email message."; | |
$from = "[email protected]"; | |
$headers = "From:" . $from; | |
mail($to,$subject,$message,$headers); | |
echo "Mail Sent."; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment