Moyosoft Products | Services | Download | Contact us    
Java Bridge to Exchange
Products  >  Java Bridge to Exchange  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

ExchangeFolder.addNewMailListener

public ExchangeNotificationWatermark addNewMailListener(ExchangeNewMailListener listener)

Adds a listener that will be notified when a new mail is received in this mail folder.

Parameters:
listener   the listener to be notified

public ExchangeNotificationWatermark addNewMailListener(ExchangeNewMailListener listener, String watermark)

Adds a listener that will be notified when a new mail is received in this mail folder.

Parameters:
listener   the listener to be notified

Community comments



Powered by JavaDocPlus