Created
November 2, 2018 00:54
-
-
Save serguk89/602bbbb8e37d5f3d13d6df9da142e568 to your computer and use it in GitHub Desktop.
One Liner to test php sending mail from a bash script
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 -r 'var_dump(mail("test@gmail.com", "test subject", "test body"));' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment