All Known Implementing Classes:
POP3MailBox, WebMail.ConnectWaiter, WebMail.LoadWaiter, WebMail.SessionObject

public interface NewMailListener
Listener for notifications about new email arrivals.

Callback interface used by POP3MailBox to notify listeners when new mail arrives, enabling real-time updates in the webmail interface.

  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    void
    foundNewMail(boolean yes)
    Report the result of a new-mail check.
  • Method Details

    • foundNewMail

      void foundNewMail(boolean yes)
      Report the result of a new-mail check.
      Parameters:
      yes - true if new mail was found