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:
parent
80942c5da8
commit
6ace40c1f2
@ -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) {
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user