mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Fix email tests and add one for MTA node
This commit is contained in:
@@ -518,7 +518,7 @@ module.exports = function(RED) {
|
||||
});
|
||||
|
||||
|
||||
function emailMtaNode(n) {
|
||||
function EmailMtaNode(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
this.port = n.port;
|
||||
var node = this;
|
||||
@@ -573,6 +573,6 @@ module.exports = function(RED) {
|
||||
node.mta.close();
|
||||
});
|
||||
}
|
||||
RED.nodes.registerType("e-mail mta",emailMtaNode);
|
||||
RED.nodes.registerType("e-mail mta",EmailMtaNode);
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user