mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	| @@ -202,9 +202,9 @@ module.exports = function(RED) { | ||||
|                                     stream.on('end', function() { | ||||
|                                         if (info.which !== 'TEXT') { | ||||
|                                             var head = Imap.parseHeader(buffer); | ||||
|                                             pay.from = head.from[0]; | ||||
|                                             pay.topic = head.subject[0]; | ||||
|                                             pay.date = head.date[0]; | ||||
|                                             if (head.hasOwnProperty("from")) { pay.from = head.from[0]; } | ||||
|                                             if (head.hasOwnProperty("topic")) { pay.topic = head.subject[0]; } | ||||
|                                             if (head.hasOwnProperty("date")) { pay.date = head.date[0]; } | ||||
|                                             pay.header = head; | ||||
|                                         } else { | ||||
|                                             var parts = buffer.split("Content-Type"); | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|     "name"          : "node-red-node-email", | ||||
|     "version"       : "0.0.3", | ||||
|     "version"       : "0.0.4", | ||||
|     "description"   : "Node-RED nodes to send and receive simple emails", | ||||
|     "dependencies"  : { | ||||
|         "nodemailer"   : "1.3.4", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user