diff --git a/social/email/61-email.js b/social/email/61-email.js index c6172f2a..cb3bf1e1 100644 --- a/social/email/61-email.js +++ b/social/email/61-email.js @@ -58,7 +58,7 @@ module.exports = function(RED) { secure: node.secure } - if(this.userid && this.password) { + if (this.userid && this.password) { smtpOptions.auth = { user: node.userid, pass: node.password diff --git a/social/email/package.json b/social/email/package.json index d59e45dc..566bde72 100644 --- a/social/email/package.json +++ b/social/email/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-email", - "version": "0.1.19", + "version": "0.1.20", "description": "Node-RED nodes to send and receive simple emails", "dependencies": { "nodemailer": "^1.11.0",