API Reference
| Classic JavaDoc |
Exchange.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 the Inbox folder.
This method is only available in the Professional edition of the library.Parameters:
This method is only available in the Professional edition of the library.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 the Inbox folder.
This method is only available in the Professional edition of the library.Parameters:
This method is only available in the Professional edition of the library.Parameters:
listener | the listener to be notified |
Community comments
Powered by JavaDocPlus