Skip to content
Spam check your emails using Postmark's API
Branch: master
Clone or download
Pull request Compare This branch is 8 commits ahead of derekrushforth:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
emails
lib
tasks
test
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
LICENSE
README.md
grunt-spamcheck.png
package.json

README.md

grunt-spamcheck

Built with Grunt Build Status

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.

grunt-spamcheck

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.

You can’t perform that action at this time.