Class UpdateMailFolders

All Implemented Interfaces:
Future<List<Folder>>, Associator, Eligible

public class UpdateMailFolders extends Event<List<Folder>>
Triggers the retrieval of mails (update) by a MailMonitor.

Must be fired on a MailChannel.

  • Constructor Details

    • UpdateMailFolders

      public UpdateMailFolders(String... folderNames)
      Causes new messages to be retrieved from the given folders.

      The folders specified may be a subset of the folder names used in the initial OpenMailConnection event. If left empty, all folders specified in the open event are retrieved again.

      folderNames - the folder names
  • Method Details

    • folderNames

      public String[] folderNames()
      Returns the folder names.
      the string[]