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 | |
require("postmark.php"); | |
$postmark = new Postmark("your-api-key","from-email","optional-reply-to-address"); | |
if($postmark->to("[email protected]")->subject("Email Subject")->plain_message("This is a plain text message.")->send()){ | |
echo "Message sent"; | |
} |
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
module.exports = function (grunt) { | |
grunt.initConfig({ | |
watch: { | |
options: { | |
livereload: true | |
}, | |
// triggering livereload when the .css file is updated | |
// (compared to triggering when sass completes) | |
// allows livereload to not do a full page refresh | |
styles: { |