Skip to content
master
Switch branches/tags
Code
This branch is 8 commits ahead of derekrushforth:master.
Contribute
Fetch upstream

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Spam check your emails using Postmark's API

Resources

License

Releases

No releases published

Packages

No packages published