Created
February 14, 2014 18:22
-
-
Save landru247/9006213 to your computer and use it in GitHub Desktop.
PHP: Sendmail test - run script to test php sendmail function
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 /* change to email address(s) */ ?> | |
<? $headers = 'From: webmaster@example.com'; mail('nobody@example.com', 'Test email using PHP', 'This is a test email message', $headers, '-fwebmaster@example.com'); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment