ErrorCalendarInvalidTimeZone TimeZone is invalid.
Brought to you by:
mguessan
I'm adding calendar entries from an Android phone (with "CalDAV Sync Adapter" app) and upon sync I get these errors on the davmail log:
davmail.exchange.ExchangeSession - Unable to get VTIMEZONE info: davmail.exchange.ews.EWSException: ErrorCalendarInvalidTimeZone TimeZone is invalid.
I think the relevant entry is this one:
<t:calendaritem><t:meetingtimezone timezonename="Europe/Berlin"></t:meetingtimezone></t:calendaritem>
What can be going wrong ?
The /usr/share/zoneinfo/Europe/Berlin file exists in the host running davmail.
DavMail tries various ways to detect current user timezone settings, in your case it detects Europe/Berlin, which is not an Exchange time zone name and fails
=> should be W. Europe Standard Time
Did you force davmail.timezoneId in DavMail settings ?
Yes I did set timezoneId to "Europe/Berlin" at one point, but mostly because the lack of a timezoneId setting was also giving troubles. Wher can I find a list of valid timezoneId values to use ?
There, after unsetting timezoneId I can see the error message again:
This is on a Debian 8 server. Is it supposed to successfully determine timezone ?
And, which timezone should I be setting, the one of the upper Exchange server or the local timezone ?
You need to timezone id to an Exchange valid value for your location (the one you set in OWA user settings).
A full standard to Exchange timezone id map is now available at:
https://svn.code.sf.net/p/davmail/code/trunk/src/java/exchtimezones.properties
Please try again with 4.8.5, and provide the timezone value on the client side and after DavMail translation