# Kan DISCOURSE\_SMTP\_AUTHENTICATION niet instellen: login

**URL:** <https://meta.discourse.org/t/cant-set-discourse-smtp-authentication-login/207461>\
**Category:** Self-hosting\
**Created:** [28 oktober 2021 om 21:42 UTC](https://meta.discourse.org/t/cant-set-discourse-smtp-authentication-login/207461 "2021-10-28T21:42:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![drat3](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@drat3](https://meta.discourse.org/u/drat3)\
**Post date:** [28 oktober 2021 om 21:42 UTC](https://meta.discourse.org/t/cant-set-discourse-smtp-authentication-login/207461/1 "2021-10-28T21:42:51Z")

</div>

Hi I’m having trouble sending mail. I use mailjet and I’m getting the error

```plaintext
Connection reset by peer

```

So now I’m trying to set `DISCOURSE_SMTP_AUTHENTICATION: login` in `app.yml`. Maybe this will fix the issue.

I ran `./launcher restart app` afterwards, but when running `discourse-doctor` again it says `with plain auth` again

---

_[View the full topic](https://meta.discourse.org/t/cant-set-discourse-smtp-authentication-login/207461)._
