diff --git a/src/java/davmail/exchange/ExchangeSession.java b/src/java/davmail/exchange/ExchangeSession.java index 7ff76ec1..2f325593 100644 --- a/src/java/davmail/exchange/ExchangeSession.java +++ b/src/java/davmail/exchange/ExchangeSession.java @@ -1539,6 +1539,15 @@ public abstract class ExchangeSession { return "IPF.Contact".equals(folderClass); } + /** + * Task folder flag. + * + * @return true if this is a task folder + */ + public boolean isTask() { + return "IPF.Task".equals(folderClass); + } + /** * drop cached message */ @@ -2465,13 +2474,14 @@ public abstract class ExchangeSession { } if (LOGGER.isDebugEnabled()) { - StringBuilder logBuffer = new StringBuilder("Sending notification"); + StringBuilder logBuffer = new StringBuilder("Sending notification "); if (recipients.attendees != null) { logBuffer.append("to: ").append(recipients.attendees); } if (recipients.optionalAttendees != null) { logBuffer.append("cc: ").append(recipients.optionalAttendees); } + LOGGER.debug(logBuffer.toString()); } } else { // need to parse attendees and organizer to build recipients