Created
March 5, 2012 18:00
-
-
Save mikedfunk/1979874 to your computer and use it in GitHub Desktop.
email example
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
<?php | |
$to = 'mikedfunk@gmail.com'; | |
$subject = 'the subject'; | |
$message = 'hello'; | |
$headers = 'From: admin@bookymark.com'; | |
if (mail($to, $subject, $message, $headers)) | |
{ | |
echo "mail test 2 successful \n\n"; | |
} | |
else | |
{ | |
echo "ERROR sending mail 2 \n\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment