Last active
March 30, 2017 17:58
-
-
Save DrGirlfriend/80088c06b9254a873042505e32057583 to your computer and use it in GitHub Desktop.
Test mail functionality
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
<? | |
$to = "[email protected], [email protected]"; | |
$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