All help articles

Calendar and contacts apps (CalDAV and CardDAV)

Mailocity calendars and contacts sync with the apps already on your phone and computer: Apple Calendar and Contacts (iPhone, iPad, Mac), Thunderbird, DAVx⁵ on Android, GNOME Calendar and Evolution, and others that speak CalDAV (RFC 4791) and CardDAV (RFC 6352). You see the same calendars and contacts as in webmail, and a change in one shows in the other.

Setting up an app

In webmail open Settings; the Mail apps card lists the Calendars (CalDAV) and Contacts (CardDAV) settings, with your username filled in and a Copy button for each value.

On an iPhone: Settings → Calendar → Accounts → Add Account → Other → Add CalDAV Account (and Add CardDAV Account under Contacts), then enter the server, your address and your password.

In Thunderbird: New Calendar → On the Network, enter your address and the server; it finds every calendar. For contacts, New Address Book → Add CardDAV Address Book.

On Android, install DAVx⁵ and choose Login with URL and user name, with the server URL from the card.

What you see

Calendars

Task lists

Contacts

An event or card saved from an app is kept exactly as the app sent it, so fields Mailocity does not use (such as an app's own notes) come back unchanged. Once it is changed in webmail or over JMAP, apps get the updated version.

Staying in sync

Calendars, task lists and address books support collection synchronization (RFC 6578, sync-collection), with a sync-token and getctag on each: apps fetch only what changed since they last looked, including what was deleted. A token is good for 30 days; an app away longer reads the collection whole again. The team directory has no token and is read whole.

Limits

Security

Apps sign in with HTTP Basic over HTTPS, the same way mail apps do, and failed sign-ins count towards the same lockout. Webmail's cookie is not accepted on these addresses, so another website cannot change your calendars through your browser. Each person sees only their own calendar and contacts home, at /dav/<account id>/; shared calendars and books are listed inside it.

For developers

Invitations from calendar apps

The server sends the invitations for events saved from a calendar app (CalDAV scheduling, RFC 6638), as it does for webmail: add guests in the app and save, and they get an invitation by email; changes send updates, deleting the event sends a cancellation, and answering an invitation in the app sends your reply to the organizer. Apps learn this from the server (calendar-auto-schedule) and stop sending their own copies. An app that marks an event SCHEDULE-AGENT=CLIENT keeps sending its own, and the server sends nothing for that event. Invitations you receive by mail appear in your calendar in every app.

Not yet