1. Knowledge Base
  2. MDaemon® Email Server

How do I sync contacts, calendars, and tasks using eM Client via CalDAV/CardDAV/WebDAV?

The eM client is an email client supports both CardDAV and CalDav connections, allowing MDaemon accounts to have contacts, calendars, and tasks synced to the client. 

MDaemon version 15.5.0 includes CalDav support to sync calendars and tasks with clients that support CalDav.

MDaemon versions 16.0.0 and above include both CardDav and CalDav support to sync calendars, contacts, and tasks with clients that support CalDav and CardDav.

The account setup process will attempt to setup Mail, Contacts, Calendars, and Chat (XMPP) automatically.  However, the steps below will detail how to do this manually.

Click the link to download the eM Client: http://www.emclient.com/


Verify the CalDav and CardDav services are enabled in MDaemon.

  1. Select Setup
  2. Select Web & IM Services
  3. Select CalDav & CardDav
  4. Verify Enable CalDav & CardDav server is checked


On the client machine:

  1. Start the eM Client application
  2. Select Menu
  3. Select Tools
  4. Select Accounts
  5. Click the symbol to add an account.
  6. Select Contacts or Calendars
  7. Select CardDAV or CalDAV
  8. Click Next
  9. Enter the http://{server host name}/.well-known/carddav to enable the client to sync all available contacts
    • using the .well-known string in the server address will also sync calendars and tasks via CalDav
    • use the URL syntax below to sync specific contacts/calendars/tasks/etc...
  10. Enter the MDaemon user name.
  11. Enter the MDaemon user password.
  12. Click Next
  13. Create a name for the CardDav account
  14. Click Next
  15. Click Finish

URL Templates

*Replace {server host name} with the server host name or IP address

Personal Contacts
The "addressbook" directory is a shortcut to the user's own default addressbook.
http://{server host name}/webdav/addressbook - logged in user's default contacts folder
http://{server host name}/webdav/addressbook/friends - the logged in user's "friends" contacts folder
http://{server host name}/webdav/addressbook/folder/personal - the logged in user's "personal" contacts folder that's in a "folder" subfolder

Shared Contacts
The "contacts" path is a shortcut to shared contact folders.
http://{server host name}/webdav/contacts/company.mail/user2 - user2@company.mail's default contact folder
http://{server host name}/webdav/contacts/company.mail/user2/test - user2@company.mail's "test" contact folder

Public Contacts
The "public-contacts" path is a shortcut to public contact folders.
http://{server host name}/webdav/public-contacts/company.mail - domain's default contact folder
http://{server host name}/webdav/public-contacts/test - "test" contact folder in the root of the public folder hierarchy