> For the complete documentation index, see [llms.txt](https://docs.meta-inf.hu/email-this-issue/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meta-inf.hu/email-this-issue/administration/mail-server-connections/custom-mail-server-basic-authentication.md).

# Custom Mail Server: Basic Authentication

We support both **IMAP** and **POP3** for incoming mail. However, for most users and modern workflows, we **strongly recommend using IMAP**. POP3 is provided only for legacy systems, as it lacks folder synchronization, multi-device support, and server-side state tracking, which are essential for a seamless email experience across devices.

For an Outgoing mail connection to a custom mail server, select **SMTP**.

<figure><img src="/files/wnXFNzpPJqpgboSh0VOn" alt="Incoming mail connection with IMAP, outgoing mail connection with SMTP protocol."><figcaption><p>Basic Authenticated incoming and outgoing connections</p></figcaption></figure>

<table><thead><tr><th width="249">Field</th><th>Value</th><th>Definition</th></tr></thead><tbody><tr><td>Encryption</td><td>No Encryption<br>SSL/TLS<br>STARTTLS</td><td>The preferred encryption method.</td></tr><tr><td>Username</td><td>Text field</td><td>The username you are authenticating with.</td></tr><tr><td>Password</td><td>Text field</td><td>Password for the above mentioned username</td></tr><tr><td>Use a shared mailbox</td><td>Toggle on to enter a shared mailbox alias</td><td>Use it in case the mailbox you want to access is shared with the username you are connecting with, but not the same mailbox.</td></tr><tr><td>Host</td><td>Text field</td><td>The host name of your mail server.</td></tr><tr><td>Port</td><td>Number field</td><td><p>The port you want the connection to be established through. Leave blank or 0 to use the default port for the connection type.<br><br>Defaults are: </p><ul><li>IMAP / IMAP with STARTTLS: 143</li><li>SSL/TLS IMAP: 993</li><li>POP3: 110</li><li>SSL/TLS POP3:995</li><li>SMTP: 25</li><li>SSL/TLS SMTP: 465SMTP with STARTTLS: 587</li></ul></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.meta-inf.hu/email-this-issue/administration/mail-server-connections/custom-mail-server-basic-authentication.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
