# CalDAV and CardDAV settings for calendar and contacts apps

Server, user name and password to sync OpenEmail calendars, tasks and contacts with Apple Calendar, Thunderbird or Android over CalDAV and CardDAV.

Calendars, tasks and contacts sync over CalDAV and CardDAV at
`dav.open.email`, over HTTPS on port 443. The user name is the same one your
mail app uses, usually your full email address. The password is an app
password or the mailbox password. In most apps, choose the manual option and
enter the server address.

## What are the CalDAV and CardDAV settings?

| Setting | Value |
| --- | --- |
| Server | `dav.open.email` |
| Port | 443, with SSL/TLS (HTTPS) |
| Path, if the app asks | `/dav/` |
| Full URL, if the app asks | `https://dav.open.email/dav/` |
| User name | Your user name, usually your full email address |
| Password | An app password or the mailbox password |

CalDAV (calendars and tasks) and CardDAV (contacts) use the same server and
the same sign-in.

## Which password do I use?

The same passwords work as in a mail app. Give each device its own app
password, so you can revoke one device without touching the others. See
[Which password do I use?](/docs/mail-apps#which-password-do-i-use) on the
mail app page.

Some accounts have calendars and contacts but no email address. They sign in
with their own user name, which may not look like an email address.

## What do I get after I connect?

Every mailbox starts with a calendar, a task list and an address book. Your app
shows them after the first sync. The task list holds tasks only, not events.

Calendar apps cannot create calendars or task lists here. Create and rename
them in webmail.

Deleting a calendar in an app deletes it on every device. Meetings you
organized in it are cancelled, and guests get a cancellation email. Your main
calendar and main address book cannot be deleted.

Calendars and address books other people share with you do not appear in
calendar apps. Open them in webmail.

Removing the account from a phone or app removes only that device's copy.
Your calendars and contacts stay on the server.

## How do I set it up in Apple Calendar or Contacts?

Use the manual option.

**iPhone and iPad.** For calendars, go to Settings › Apps › Calendar ›
Calendar Accounts › Add Account › Add Other Account, then choose the CalDAV
account. For contacts, go to Settings › Apps › Contacts › Contact Accounts ›
Add Account › Other › Add CardDAV Account. Enter `dav.open.email` as the
server, then your user name and password
([Apple's steps](https://support.apple.com/guide/iphone/ipha0d932e96/ios)).
On older iOS versions, Calendar and Contacts sit directly under Settings.

**Calendar on Mac.** Choose Calendar › Add Account › Other CalDAV Account. Set
Account Type to **Manual**, then enter your user name, password and
`dav.open.email` as the server address
([Apple's steps](https://support.apple.com/guide/calendar/icl4308d6701/)). If
the app asks for a server path and port, choose **Advanced** and use `/dav/`
and 443 with SSL on.

**Contacts on Mac.** Choose Contacts › Settings › Accounts, add an account,
then choose **Other Contacts Account** and CardDAV
([Apple's steps](https://support.apple.com/guide/contacts/adbk27096/mac)).
Enter the same server, user name and password.

**Check where new items are saved.** On iPhone, set the default account in
Contacts settings and the default calendar in Calendar settings to the
OpenEmail account. Items saved to iCloud or the phone do not sync here.

## How do I set it up in Thunderbird or on Android?

**Thunderbird.** In the Calendar tab, choose New Calendar › **On the
Network**. Enter your user name, enter `https://dav.open.email/` as the
location, then choose **Find Calendars**
([Mozilla's steps](https://support.mozilla.org/kb/creating-new-calendars)).
For contacts, add a CardDAV address book with the same user name and
location.

**Android.** Use a sync app such as DAVx⁵. Sign in with a URL, and enter
`https://dav.open.email/` as the base URL with your user name and password
([DAVx⁵ manual](https://manual.davx5.com/accounts_collections.html)). Tick
each calendar and address book you want: only ticked ones sync. When you save
a contact or event, choose the DAVx⁵ account. Tasks need a tasks app that
works with DAVx⁵.

## What happens when I invite people?

OpenEmail emails the invitations when you save an event with guests. Some
apps also send their own copy, so a guest may get two. Deleting an event you
organized emails a cancellation to its guests.

Invitations you receive arrive as email. From senders who pass authentication
checks, they also appear in your calendar. You can answer from the email.

## Can my app find the server from my email address?

Only if your domain publishes the optional DAV records. They tell apps where
the calendar server is. Turn them on with **Advertise CalDAV / CardDAV** in
your domain's settings in the app, or see
[Add your domain](/docs/add-your-domain#optional-dns-jmap-and-dav). Without
them, choose the manual option and type `dav.open.email`.

## Can I use my own server name?

Yes, on Pro. Your users can connect to a name on your own domain, such as
`dav.yourcompany.com`. Add the name in the app under your domain, create the
CNAME record it shows, and run its check. If the app says custom hostnames are
not enabled, ask us to turn them on.

## It won't connect. What should I check?

1. **Server.** `dav.open.email`, not `mail.open.email`. Calendars and mail use
   different servers.
2. **Account type.** Use the manual option, or the full URL
   `https://dav.open.email/dav/`.
3. **User name.** The same user name as in your mail app, usually the full
   email address.
4. **Password.** A revoked app password stops working within a few minutes.
   Make a new one.
5. **Blocked sign-in.** Too many wrong passwords block sign-in for 15
   minutes. Update the password on every device, then wait and try again.
6. **Saved, but nothing appears.** In DAVx⁵, tick the calendars to sync. On
   iPhone, check the default account and calendar.
7. **New calendar fails.** Create calendars in webmail, then sync again.
8. **An event won't save in Tasks.** The task list holds tasks only. Put
   events in a calendar.

## FAQ

### What is my CalDAV password?

It is the same password your mail app uses: an app password or the mailbox
password.

### What is a CalDAV account on iPhone?

It is the account type iPhone uses to sync calendars with a server other than
iCloud, Google or Exchange. Choose it to add your OpenEmail calendar.

### Is CalDAV the same as my email account?

It is the same sign-in, on a different server. Your app adds it as a separate
account.

### Will my existing iCloud or Google events move over?

No. Adding the account syncs what is on OpenEmail. Events in other accounts
stay there.

## Related

- [IMAP and SMTP settings for your mail app](/docs/mail-apps)
- [Mail app won't connect or send](/docs/troubleshoot-mail-apps)
- [Webmail](/docs/webmail)
- [Add your domain](/docs/add-your-domain)
