From 6ace40c1f24a08850b70a6619f6fc271b9f2ac32 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Tue, 21 Feb 2017 12:23:47 +0000 Subject: [PATCH] re-add auth to email out... apologies all round --- social/email/61-email.js | 6 +++++- social/email/package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/social/email/61-email.js b/social/email/61-email.js index bb049fe2..9a7c0c34 100644 --- a/social/email/61-email.js +++ b/social/email/61-email.js @@ -55,7 +55,11 @@ module.exports = function(RED) { var smtpTransport = nodemailer.createTransport({ host: node.outserver, port: node.outport, - secure: node.secure + secure: node.secure, + auth: { + user: node.userid, + pass: node.password + } }); if(this.userid && this.password) { diff --git a/social/email/package.json b/social/email/package.json index 97de9be5..d59e45dc 100644 --- a/social/email/package.json +++ b/social/email/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-email", - "version": "0.1.18", + "version": "0.1.19", "description": "Node-RED nodes to send and receive simple emails", "dependencies": { "nodemailer": "^1.11.0",