MailboxList Event
Fired for each mailbox received through the ListMailboxes and ListSubscribedMailboxes methods.
Syntax
imap.on('MailboxList', [callback])
Callback
The 'callback' is called when the 'MailboxList' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.mailbox e.separator e.flags
Remarks
This method is fired for each mailbox received through the ListMailboxes and ListSubscribedMailboxes methods. The Separator parameter contains the character that separates the different parts in the mailbox path hierarchy.