# Трудности с настройкой SMTP в Discourse через Azure Communication Service

**URL:** https://meta.discourse.org/t/struggling-to-configure-smtp-in-discourse-with-azure-communication-service/290511
**Category:** Self-hosting
**Tags:** email
**Created:** [04.Январь.2024 14:16:42 UTC](https://meta.discourse.org/t/struggling-to-configure-smtp-in-discourse-with-azure-communication-service/290511 "2024-01-04T14:16:42Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [09.Январь.2026 16:20:21 UTC](https://meta.discourse.org/t/struggling-to-configure-smtp-in-discourse-with-azure-communication-service/290511/6 "2026-01-09T16:20:21Z")

</div>

Вам следует проверить URL `/logs`.

Если вы отлаживаете систему, возможно, вам быстрее поможет задача `rake 'emails:test[your_email]'`.

Также вы можете установить переменные окружения, чтобы опробовать различные варианты без необходимости пересборки контейнера, например:

```plaintext
$ DISCOURSE_SMTP_PORT=587 DISCOURSE_SMTP_USER_NAME=bilbo DISCOURSE_SMTP_PASSWORD=ring rake emails:test'[frodo@shire.net]'

```

---

_[View the full topic](https://meta.discourse.org/t/struggling-to-configure-smtp-in-discourse-with-azure-communication-service/290511)._
