Skip to content

Instantly share code, notes, and snippets.

@pzuraq
Created December 11, 2012 01:25
Show Gist options
  • Save pzuraq/4254970 to your computer and use it in GitHub Desktop.
Save pzuraq/4254970 to your computer and use it in GitHub Desktop.
<?php
if( mail("pzuraq@gmail.com", "Test email from PHP", "msmtp as sendmail for PHP") )
echo "it works!";
else
echo "fail!";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment