mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	Allow Email node to select folder other than INBOX
Closes #215 Thanks to @aamol for spotting
This commit is contained in:
		@@ -318,7 +318,7 @@ module.exports = function(RED) {
 | 
			
		||||
                node.status({fill:"blue", shape:"dot", text:"email.status.fetching"});
 | 
			
		||||
                //console.log("> ready");
 | 
			
		||||
                // Open the inbox folder
 | 
			
		||||
                imap.openBox('INBOX', // Mailbox name
 | 
			
		||||
                imap.openBox(node.box, // Mailbox name
 | 
			
		||||
                    false, // Open readonly?
 | 
			
		||||
                    function(err, box) {
 | 
			
		||||
                    //console.log("> Inbox open: %j", box);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user