diff --git a/pom.xml b/pom.xml index 358ed47..a553a99 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 0.2.57 + 0.2.58 diff --git a/src/main/java/de/srsoftware/widerhall/mail/ImapClient.java b/src/main/java/de/srsoftware/widerhall/mail/ImapClient.java index bf8f79b..f8014f1 100644 --- a/src/main/java/de/srsoftware/widerhall/mail/ImapClient.java +++ b/src/main/java/de/srsoftware/widerhall/mail/ImapClient.java @@ -154,7 +154,7 @@ public class ImapClient { Date receivedDate = message.getReceivedDate(); Duration duration = Duration.between(receivedDate.toInstant(),now.toInstant()); var days = duration.toDays(); - LOG.info("Message {} is {} days old!",days); + LOG.info("Message {} is {} days old!",message.getSubject(),days); if (days > holdTime){ Folder folder = message.getFolder(); if (!folder.isOpen()) folder.open(Folder.READ_WRITE);