Nextcloud Mail: add a new mailbox
Nextcloud Mail (the Mail app in your Nextcloud) is the official mail app for Nextcloud. It works great with the mailboxes you create in your WebOké hosting packages, but you can also use mailboxes from other providers in it. Your Nextcloud isn't a mailbox itself: you connect your existing mailbox.
This article explains how to add your WebOké mailbox to Nextcloud Mail. You add a mailbox from another provider the same way; only the IMAP and SMTP servers differ per provider.
Adding your mailbox
- Open the Mail app in the bar at the top. The first time, you'll see Connect your mail account.

- Leave the Automatic tab open. Enter your email address and your mailbox password (that's the password of the mailbox itself, not your Nextcloud password) and click Connect. For most WebOké mailboxes this works right away and you're done. If it doesn't work, choose the Manual tab (see below).

- Your mailbox has been added and your Nextcloud is fetching your mail. With a large mailbox, this can take a while the first time. You can just carry on in the meantime.

Manual setup
Fill in these fields on the Manual tab. Then click Connect.
| Field | What do you enter? |
|---|---|
| IMAP Host | your domain name, for example yourdomain.com (see the warning below) |
| IMAP Security | SSL/TLS |
| IMAP Port | 993 |
| IMAP User | your full email address |
| IMAP Password | your mailbox password |
| SMTP Host | the same as the IMAP Host |
| SMTP Security | STARTTLS |
| SMTP Port | 587 |
| SMTP User | your full email address |
| SMTP Password | your mailbox password |

See also: All settings at a glance: servers, ports and security
Detailed explanation with screenshots: Adding your mailbox to the Mail app and Reading and writing mail, folders and saving attachments to Files in the Nextcloud manual.
