Created
February 10, 2011 14:41
-
-
Save till/820624 to your computer and use it in GitHub Desktop.
mail-flag.phpt
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
--TEST-- | |
mail(): returns false when sendmail_path contains a -f flag and we use additional_params with one | |
--INI-- | |
sendmail_path=/usr/sbin/sendmail -t -i -f [email protected] | |
--FILE-- | |
<?php | |
var_dump(mail('[email protected]', 'subject', 'message', 'From: [email protected]', '[email protected]')); | |
?> | |
--EXPECT-- | |
bool(true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment