grunt-spamcheck
v0.1.2
Published
Spam check your emails using Postmark's API
Downloads
153
Maintainers
Readme
grunt-spamcheck
Spam check your emails using Postmark's API
Getting Started
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-spamcheck --save-dev
After the plugin is installed, it can be enabled in your Gruntfile:
grunt.loadNpmTasks('grunt-spamcheck');
Spamcheck task
Run this task with the grunt spamcheck
command.
Options
report
Specifies whether you would like more detailed reporting.
Type: String
Default: long
Options: short
, long
hideGraph
Specifies whether you want to hide the score graph.
Type: Boolean
Default: false
Examples
grunt.initConfig({
spamcheck: {
emails: {
report: 'long',
src: ['emails/template1.html', 'emails/template2.html', 'emails/template3.html']
}
}
});
Tests
Run this task with the grunt test
command.