1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

re-add auth to email out...

apologies all round
This commit is contained in:
Dave Conway-Jones 2017-02-21 12:23:47 +00:00
parent 80942c5da8
commit 6ace40c1f2
2 changed files with 6 additions and 2 deletions

View File

@ -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) {

View File

@ -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",