A simple smtp server used for mocks and development
A simple smtp server for mocks and development used to output all smtp traffic to stdout.
This plugin requires Grunt
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-simple-smtp --save-dev
or alternatively in you package.json
"devDependencies": "grunt-simple-smtp": "~0.1"
In your project's Gruntfile, add a section named
simple_smtp to the data object passed into
gruntinitConfigsimple_smtp:options:// Task-specific options go here.
Default value: 25
The port in which to host the service on.
Default value: false
If the task should be run indefinitly.
In this example, the default options are used starting the service on port 25.
In this example the port has been configured to listen on an alternative port.
Fundamentally this task simply wraps the great simplesmtp library by Andris Reinman.
Copyright © 2013 Foldr Distributed under the MIT License.