# How to set domain value in Email -\> Server Settings

**URL:** https://meta.discourse.org/t/how-to-set-domain-value-in-email-server-settings/368902
**Category:** Self-hosting
**Created:** [June 4, 2025, 8:14pm UTC](https://meta.discourse.org/t/how-to-set-domain-value-in-email-server-settings/368902 "2025-06-04T20:14:18Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Andrew\_Rowe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andrew_rowe/32/445877_2.png) [@Andrew\_Rowe](https://meta.discourse.org/u/Andrew_Rowe)
#### Post date: [June 4, 2025, 11:21pm UTC](https://meta.discourse.org/t/how-to-set-domain-value-in-email-server-settings/368902/2 "2025-06-04T23:21:12Z")

</div>

since no one is jumping in I think it is in app.yml ???  
I think there is a command line way to set your mail setting as well.  
ah… look here

> [@Troubleshoot email on a new Discourse install](https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326#p-55742-did-you-enter-email-settings-correctly-2):
>
> You just installed Discourse via [the install guide](https://github.com/discourse/discourse/blob/main/docs/INSTALL.md), but email doesn’t seem to work. Unfortunately this means you can’t log in as an admin to finalize the install. cry Let’s troubleshootize! Try the doctor woman_health_workerIf you run ./discourse-doctor it will check several ways that your mail configuration might be broken, and offer advice. Try that first. Did you enter email settings correctly? The simplest way is to run ./discourse-setup again. Did you enter everything correctly? B…

---

_[View the full topic](https://meta.discourse.org/t/how-to-set-domain-value-in-email-server-settings/368902)._
