API Reference
| Classic JavaDoc |
ExchangeFolder.addNewMailListener
public ExchangeNotificationWatermark addNewMailListener(ExchangeNewMailListener listener)
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 |
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