Created
November 12, 2014 23:16
-
-
Save PunchRockgroin/29a1b6caef75eb7f4e66 to your computer and use it in GitHub Desktop.
Mail Test
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 = 'nobody@example.com'; $subject = 'Test email using PHP'; $message = 'This is a test email message'; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers, '-fwebmaster@example.com'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment