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

fix mailparser require

This commit is contained in:
Dave Conway-Jones 2019-05-23 12:35:13 +01:00
parent 3619971c57
commit f20d00a972
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ module.exports = function(RED) {
var nodemailer = require("nodemailer");
var Imap = require('imap');
var POP3Client = require("poplib");
var MailParser = require("mailparser-mit").MailParser;
var MailParser = require("mailparser").MailParser;
var util = require("util");
if (parseInt(process.version.split("v")[1].split(".")[0]) < 8) {

View File

@ -1,6 +1,6 @@
{
"name": "node-red-node-email",
"version": "1.5.0",
"version": "1.5.1",
"description": "Node-RED nodes to send and receive simple emails",
"dependencies": {
"imap": "^0.8.19",