# 无法设置 SMTP。我试过了所有方法。

**URL:** <https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399>\
**Category:** Self-hosting\
**Created:** [2018 年6 月 21 日 14:24 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399 "2018-06-21T14:24:47Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2018 年6 月 25 日 16:48 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/15 "2018-06-25T16:48:24Z")

</div>

> [@bereno](#):
>
> I can change app.yml but I cant use discourse-setup. Must I use discourse-setup? I changed app.yml and relaunch.

Why can’t you use `discourse-setup`? There are many conditions in which you can’t use it (e.g., you’re running on a non-standard port). From some of your output it’s clear that your app.yml isn’t configuring SMTP correctly, if at all.

No, there is no requirement for using discourse-setup, but since you’re apparently unable to configure app.yml without it, that was my suggestion.

---

_[View the full topic](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399)._
