# Email not working

**URL:** https://meta.discourse.org/t/email-not-working/353564
**Category:** Self-hosting
**Created:** [February 21, 2025, 9:57am UTC](https://meta.discourse.org/t/email-not-working/353564 "2025-02-21T09:57:19Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![nmh266](https://avatars.discourse-cdn.com/v4/letter/n/eb9ed0/32.png) [@nmh266](https://meta.discourse.org/u/nmh266)
#### Post date: [February 21, 2025, 9:57am UTC](https://meta.discourse.org/t/email-not-working/353564/1 "2025-02-21T09:57:19Z")

</div>

Hi guys

Thanks in adavance for helping me.

my set-up:

1. Server: DigitalOcean
2. Mail-service: Mailgun
3. PuttyGen for console

Problem:

1. Installation discourse worked
2. creating admin account not working, because i don’t receive an activation account
3. discourse-doctor says "UNEXPECTED ERROR, Net::SMTPAuthenticationError
4. telnet [smtp.mailgun.org](http://smtp.mailgun.org) 587 =\> 220 mailgun influx ready (seems OK to me)

Questions:

1. How can I check the file “app.yml” to check if I entered email settings correctly? (my problem “-bash: containers/app.yml: Permission denied”)
2. How can I edit email settings?

Thank you guys

have a nice day

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [February 21, 2025, 10:00am UTC](https://meta.discourse.org/t/email-not-working/353564/2 "2025-02-21T10:00:25Z")

</div>

You should be root when installing Discourse, and accessing the `app.yml` file. Are you a root user when performing these actions?

---

<div class="post-metadata">

### Author: ![nmh266](https://avatars.discourse-cdn.com/v4/letter/n/eb9ed0/32.png) [@nmh266](https://meta.discourse.org/u/nmh266)
#### Post date: [February 21, 2025, 10:04am UTC](https://meta.discourse.org/t/email-not-working/353564/3 "2025-02-21T10:04:15Z")

</div>

yes, “whoami” says I am “root”

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [February 21, 2025, 10:05am UTC](https://meta.discourse.org/t/email-not-working/353564/4 "2025-02-21T10:05:25Z")

</div>

Try `nano containers/app.yml`, what happens?

---

<div class="post-metadata">

### Author: ![nmh266](https://avatars.discourse-cdn.com/v4/letter/n/eb9ed0/32.png) [@nmh266](https://meta.discourse.org/u/nmh266)
#### Post date: [February 21, 2025, 10:10am UTC](https://meta.discourse.org/t/email-not-working/353564/5 "2025-02-21T10:10:04Z")

</div>

worked! Password was wrong ☹

thanks @NateDhaliwal

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [February 22, 2025, 2:53am UTC](https://meta.discourse.org/t/email-not-working/353564/6 "2025-02-22T02:53:28Z")

</div>

Glad that it works now!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 24, 2025, 2:53am UTC](https://meta.discourse.org/t/email-not-working/353564/7 "2025-03-24T02:53:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
