> For the complete documentation index, see [llms.txt](https://docs.mikopbx.com/mikopbx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mikopbx.com/mikopbx/english/manual/system/mail-settings/proton.md).

# Proton Setup (Login, Password)

### Generating an SMTP Token

1. First, go to your Proton account settings ([link](https://account.proton.me/u/1/mail/dashboard)).

<figure><img src="/files/4SRASPV3iypHVsl0ke3Y" alt=""><figcaption><p>Proton account settings</p></figcaption></figure>

2. Then go to the "**Proton Mail**" -> "**IMAP/SMTP**" section.

<figure><img src="/files/URZt4371Ba3Qwzf3BuDt" alt=""><figcaption><p>"IMAP/SMTP" section</p></figcaption></figure>

3. Scroll down to the "**SMTP submission**" section. Click "**Generate token**".

<figure><img src="/files/xn8ApfrrEw6jMAwSaOTk" alt=""><figcaption><p>"Generate token" button for creating a new token</p></figcaption></figure>

4. Enter an arbitrary name in the "Token name" field — MikoPBX in our case — and select the Email address for which you are creating the token.

<figure><img src="/files/h42NNOni76VVoQS2eJ4T" alt=""><figcaption><p>Creating a new SMTP token</p></figcaption></figure>

A token will be created. **Its parameters will be shown only once and will become unavailable once you close the window. Save them, as we will use them for further configuration.**

<figure><img src="/files/Cpu3R9wxJFoEtRLt6tKM" alt=""><figcaption><p>Created token parameters</p></figcaption></figure>

### Connecting in MikoPBX

1. Go to the "**System**" -> "**Mail and Notifications**" section.

<figure><img src="/files/YmrvtpBYLEL3ErW7JUOJ" alt=""><figcaption><p>"Mail and Notifications" section</p></figcaption></figure>

2. Go to "**SMTP Settings**". Fill in all the required parameters:

* **Sender Address** - your email address that you used to generate the token.
* **Sender Name** - the name from which the mail is sent.
* **Authentication Type** - "Username and password".
* **SMTP Username -** SMTP Username from the token data window.
* **SMTP Password -** SMTP token from the token data window.
* **SMTP Host** - **`smtp.protonmail.ch`**
* **SMTP Port** - 587.
* **Encryption Type** - STARTTLS (port 587).

Click "**Save**".

<figure><img src="/files/XY7GiktqQMrXeM0m5Eg8" alt=""><figcaption><p>Mail parameters in MikoPBX</p></figcaption></figure>

Click "**Test connection**". You will see the following window confirming that the entered data is correct:

<figure><img src="/files/TQd6AePemOVqBeI9Z9rH" alt=""><figcaption><p>Successful connection</p></figcaption></figure>


---

# 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.mikopbx.com/mikopbx/english/manual/system/mail-settings/proton.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.
