# Подключение GMail почты

Рассмотрим настройку почты на примере gmail.

1. Необходимо авторизоваться через учетную запись Google&#x20;
2. Активировать Двухэтапную аутентификацию\
   [Управление аккаунтом Google](https://myaccount.google.com/?hl=ru\&authuser=0\&utm_source=OGB\&utm_medium=act) -> [Безопасность](https://myaccount.google.com/security) \
   -> раздел Вход в аккаунт Google -> Двухэтапная аутентификация
3. Далее после установки 2fa на странице ["Двухэтапная аутентификация" в самом низу перейдите на страницу "Пароли приложений"](#user-content-fn-1)[^1]
4. [Создайте пароль для приложения выберите устройство Другое](#user-content-fn-2)[^2] и [введите имя на свое усмотрение к примеру smtp-exchanger](#user-content-fn-3)[^3]
5. [Скопируйте полученный пароль приложения и установите его в админке (пароль не имеет пробелов)](#user-content-fn-4)[^4]
6. Установить данные в админ панели.

### Устанавливаем доступы в админ панель

Устанавливаем доступы полученные на предыдущем этапе к примеру:

`SMTP host:`**`smtp.gmail.com`**\
`SMTP port:`` `**`465`**\
`SMTP secure protocol:`` `**`true`**\
`Account email:`**`support@your.domain`**\
`Email sender sender:`**`support@your.domain`**\
`Account password:`` `**`YOUR_APP_PASSWORD`**

если вы получаете ошибку timeout вы можете установить \
`SMTP port:`` `**`587`**\
`SMTP secure protocol:`` `**`false`**

{% hint style="info" %}
**`Account email`**` ``- Email адрес вашего акаунта по которому вы входите в аккаунт`\
\&#xNAN;**`Email sender sender`**` ``- Email адрес с которого отправлять письмо (если у вас есть alias вы можете указать его либо установите тот же email что и Account email)`

**`Account password`**` ``- Пароль приложения созданный на шаге #5.`
{% endhint %}

![](/files/8XPDxgRDblCo7JfAhaPx)

<br>

[^1]: ![](/files/vN161lyiPq0fYJoxRpc9)

[^2]: ![](/files/1pqUhSMTTJaqvdWhqgiY)

[^3]: ![](/files/BGzPwSxX5mi2IIvjnWy3)

[^4]: ![](/files/2Dj6FeGwao4KlA2um9k1)


---

# Agent Instructions: 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:

```
GET https://manual.boxexchanger.net/nachalo-raboty/nastroika-pochty/podklyuchenie-gmail-pochty.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
