Created
August 13, 2012 20:04
-
-
Save fredbradley/3343745 to your computer and use it in GitHub Desktop.
This file contains 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
if ($_POST['email']) { | |
$email = $_POST['email']; | |
$message = "Hello this is a test! It worked!"; | |
mail($email, 'My Subject', $message); | |
echo 'Mail Should Now Be Sent!'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment