Re-enable email node basic tests...

it’s a start….
This commit is contained in:
Dave Conway-Jones
2015-06-19 16:54:07 +01:00
parent 56bb10642a
commit fc05ddd035
2 changed files with 48 additions and 48 deletions

View File

@@ -127,8 +127,8 @@ module.exports = function(RED) {
RED.nodes.createNode(this,n);
this.name = n.name;
this.repeat = n.repeat * 1000 || 300000;
this.inserver = n.server || globalkeys.server || "imap.gmail.com";
this.inport = n.port || globalkeys.port || "993";
this.inserver = n.server || (globalkeys && globalkeys.server) || "imap.gmail.com";
this.inport = n.port || (globalkeys && globalkeys.port) || "993";
this.box = n.box || "INBOX";
var flag = false;