New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nodemailer-smtp-transport

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodemailer-smtp-transport - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

6

lib/smtp-transport.js

@@ -41,6 +41,6 @@ 'use strict';

*
* @param {Object} builder BuildMail object
* @param {Object} mail Mail object
* @param {Function} callback Callback function
*/
SMTPTransport.prototype.send = function(builder, callback) {
SMTPTransport.prototype.send = function(mail, callback) {
var connection = new SMTPConnection(this.options),

@@ -58,3 +58,3 @@ returned = false;

var sendMessage = function() {
connection.send(builder.getEnvelope(), builder.createReadStream(), function(err, info) {
connection.send(mail.data.envelope || mail.message.getEnvelope(), mail.message.createReadStream(), function(err, info) {
if (returned) {

@@ -61,0 +61,0 @@ return;

{
"name": "nodemailer-smtp-transport",
"version": "0.1.2",
"version": "0.1.3",
"description": "SMTP transport for Nodemailer",

@@ -22,3 +22,3 @@ "main": "lib/smtp-transport.js",

},
"homepage": "https://github.com/andris9/nodemailer-smtp-transport",
"homepage": "http://github.com/andris9/nodemailer-smtp-transport",
"dependencies": {

@@ -25,0 +25,0 @@ "smtp-connection": "^0.1.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc