# Uses of Package
javax.mail.event

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

- Classes in javax.mail.event used by com.sun.mail.imap
  Class and Description
  MailEvent Common base class for mail events, defining the dispatch method.
  MessageCountEvent This class notifies changes in the number of messages in a folder.
  MessageCountListener This is the Listener interface for MessageCount events.

- Classes in javax.mail.event used by javax.mail
  Class and Description
  ConnectionListener This is the Listener interface for Connection events.
  FolderListener This is the Listener interface for Folder events.
  MailEvent Common base class for mail events, defining the dispatch method.
  MessageChangedListener This is the Listener interface for MessageChanged events
  MessageCountListener This is the Listener interface for MessageCount events.
  StoreListener This is the Listener interface for Store Notifications.
  TransportListener This is the Listener interface for Transport events

- Classes in javax.mail.event used by javax.mail.event
  Class and Description
  ConnectionEvent This class models Connection events.
  ConnectionListener This is the Listener interface for Connection events.
  FolderEvent This class models Folder existence events.
  FolderListener This is the Listener interface for Folder events.
  MailEvent Common base class for mail events, defining the dispatch method.
  MessageChangedEvent This class models Message change events.
  MessageCountEvent This class notifies changes in the number of messages in a folder.
  MessageCountListener This is the Listener interface for MessageCount events.
  StoreEvent This class models notifications from the Store connection.
  TransportEvent This class models Transport events.
  TransportListener This is the Listener interface for Transport events

Copyright © 2016 Oracle. All rights reserved.