> 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/manual/system/mail-settings/proton.md).

# Настройка Proton (Логин, Пароль)

### Генерация SMTP токена

1. Для начала, перейдите в настройки своего аккаунта Proton ([ссылка](https://account.proton.me/u/1/mail/dashboard)).

<figure><img src="/files/OT3q93nbsRPqHyDGGdCg" alt=""><figcaption><p>Настройки учетной записи Proton</p></figcaption></figure>

2. Далее перейдите в раздел "**Proton Mail**" -> "**IMAP/SMTP**".

<figure><img src="/files/MehcfHApL1oDz43Jwmd9" alt=""><figcaption><p>Раздел "IMAP/SMTP"</p></figcaption></figure>

3. Далее пролистайте до секции "**SMTP submission**". Нажмите "**Generate token**".

<figure><img src="/files/oDq3G3xTZHmlMNYvoIfk" alt=""><figcaption><p>Кнопка для создания нового токена "Generate token"</p></figcaption></figure>

4. Введите произовольное название в поле "Token name" - MikoPBX в нашем случае, так же выберите Email address для которого Вы создаете токен.

<figure><img src="/files/v6PqJm29GbP9M3bu8tQj" alt=""><figcaption><p>Создание нового SMTP токена</p></figcaption></figure>

Будет создан токен. **Его параметры будут показаны один раз и когда Вы закроете окно, станут недоступны. Сохраните их, мы будем использовать их для дальнейшей настройки.**

<figure><img src="/files/JA2UxQvQ7JsjBvW81Jau" alt=""><figcaption><p>Параметры созданного токена</p></figcaption></figure>

### Подключение в MikoPBX

1. Перейдите в раздел "**Система**" -> "**Почта и уведомления**".

<figure><img src="/files/lE0EfQpY617Ws3VvUEv3" alt=""><figcaption><p>Раздел "Система" -> "Почта и уведомления".</p></figcaption></figure>

2. Перейдите в "**Настройки SMTP**". Заполните все необходимые параметры:

* **Адрес отправителя** - Ваш адрес электронной почты, под которым Вы генерировали токен.
* **Имя отправителя** - имя от которого отправляется почта.
* **Тип аутунтификации** - "Логин и пароль".
* **SMTP логин** - SMTP Username из окна с данными токена.
* **SMTP пароль** - SMTP token из окна с данными токена.
* **SMTP хост** - **`smtp.protonmail.ch`**
* **SMTP порт** - 587.
* **Тип шифрования** - STARTLS (порт 587).

Нажмите "**Сохранить**".

<figure><img src="/files/vDSmchfEev5ErC8HAetQ" alt=""><figcaption><p>Параметры почты в MikoPBX</p></figcaption></figure>

Нажмите "**Проверить подключение**". Вы увидите следующее окно, подтверждающее правильность введенных данных:

<figure><img src="/files/LBTkGDECImxj9n9C0qk0" alt=""><figcaption><p>Успешное подключение</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/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.
