
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
A very, very simple to use SMTP server to accept incoming mail for node.js
Your new favorite module for receiving mail. And nothing more. Nothing less.
Run npm install lazysmtp
, or alternatively clone this repo, or alternatively fork then clone, or alternatively view raw file, or alternatively hire an underpaid illegal worker to install it, or alternatively party hard.
WARNING: Partying hard might not lead to expected results, including but not limited to lazysmtp not working and noise complaints from your neighbors)
Instantiate a new Mail class. Has one method that allows you to start the server
The most important one. Fires when mail an e-mail has been received. Returns the entire e-mail as a string. (Including headers)
connectionIncoming
Fires whenever a connection is made to the server on your designated port by a client. Contains an object with client information.
connectionClosed
Fires whenever a connection to the server is closed. Contains an object with client information.
##Example:
var Mail = require("lazysmtp").Mail;
var mail = new Mail("example.com", false);
mail.start();
mail.on("mail", function(email) {
//Pass it on to a parser. Or don't. I don't care.
parseThe(email);
});
mail.on("connectionIncoming", function(client) {
console.log("Connection from: " + client.address + " on port " + client.port);
}):
MIT License.
FAQs
A very, very simple to use SMTP server to accept incoming mail for node.js
The npm package lazysmtp receives a total of 0 weekly downloads. As such, lazysmtp popularity was classified as not popular.
We found that lazysmtp 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.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.