diff --git a/src/java/davmail/exchange/ExchangeSession.java b/src/java/davmail/exchange/ExchangeSession.java index d0e7993e..e1cd0163 100644 --- a/src/java/davmail/exchange/ExchangeSession.java +++ b/src/java/davmail/exchange/ExchangeSession.java @@ -2224,6 +2224,11 @@ public abstract class ExchangeSession { protected byte[] getICS(InputStream mimeInputStream) throws IOException, MessagingException { byte[] result; MimeMessage mimeMessage = new MimeMessage(null, mimeInputStream); + String[] contentClass = mimeMessage.getHeader("Content-class"); + // task item, return null + if (contentClass != null && contentClass.length > 0 && "urn:content-classes:task".equals(contentClass[0])) { + return null; + } Object mimeBody = mimeMessage.getContent(); MimePart bodyPart = null; if (mimeBody instanceof MimeMultipart) { diff --git a/src/java/timezones.properties b/src/java/timezones.properties index fc33440e..de6dfdef 100644 --- a/src/java/timezones.properties +++ b/src/java/timezones.properties @@ -64,6 +64,8 @@ (GMT-04.00)\ Caracas/La\ Paz=America/Caracas (GMT-04.00)\ Santiago=America/Santiago (GMT-05.00)\ Bogota/Lima=America/Lima +(GMT-05.00)\ Bogota/Lima/Quito=America/Lima +SA\ Pacific\ Standard\ Time=America/Lima (GMT-05.00)\ Eastern\ Time\ (US\ &\ Canada)=America/New_York (GMT-05.00)\ Indiana\ (East)=America/Indiana/Knox (GMT-06.00)\ Central\ America=America/Chicago