## Uses of Class
javax.mail.event.MessageCountEvent

- Packages that use MessageCountEvent
  Package | Description
  --- | ---
  com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.
  javax.mail.event | Listeners and events for the JavaMail API.

- - ### Uses of MessageCountEvent in com.sun.mail.imap

    Subclasses of MessageCountEvent in com.sun.mail.imap
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MessageVanishedEvent` This class provides notification of messages that have been removed since the folder was last synchronized.

  - ### Uses of MessageCountEvent in javax.mail.event

    Methods in javax.mail.event with parameters of type MessageCountEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | MessageCountAdapter.`messagesAdded(MessageCountEvent e)`
    `void` | MessageCountListener.`messagesAdded(MessageCountEvent e)` Invoked when messages are added into a folder.
    `void` | MessageCountAdapter.`messagesRemoved(MessageCountEvent e)`
    `void` | MessageCountListener.`messagesRemoved(MessageCountEvent e)` Invoked when messages are removed (expunged) from a folder.

Copyright © 2016 Oracle. All rights reserved.