
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
grunt-simple-smtp
Advanced tools
A simple smtp server for mocks and development used to output all smtp traffic to stdout.
This plugin requires Grunt 0.4.x
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" }
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-simple-smtp');
In your project's Gruntfile, add a section named simple_smtp
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
simple_smtp: {
options: {
// Task-specific options go here.
}
}
})
see simplesmtp for more options
Type: Number
Default value: 25
The port in which to host the service on.
Type: Boolean
Default value: false
If the task should be run indefinitly.
In this example, the default options are used starting the service on port 25.
grunt.initConfig({
simple_smtp: {
options: {},
},
})
In this example the port has been configured to listen on an alternative port.
grunt.initConfig({
simple_smtp: {
options: {
port: 465
}
}
})
Fundamentally this task simply wraps the great simplesmtp library by Andris Reinman.
Copyright © 2013 Foldr Distributed under the MIT License.
FAQs
A simple smtp server used for mocks and development
The npm package grunt-simple-smtp receives a total of 0 weekly downloads. As such, grunt-simple-smtp popularity was classified as not popular.
We found that grunt-simple-smtp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.