MailboxList Event

Fired for each mailbox received through the ListMailboxes and ListSubscribedMailboxes methods.

Syntax

public class DefaultImapEventListener implements ImapEventListener {
  ...
  public void mailboxList(ImapMailboxListEvent e) {}
  ...
}

public class ImapMailboxListEvent {
  public String mailbox;
  public String separator;
  public String 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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Java Edition - Version 20.0 [Build 8307]