# How to modify email settings

**URL:** https://meta.discourse.org/t/how-to-modify-email-settings/60202
**Category:** Support
**Created:** [March 31, 2017, 12:11am UTC](https://meta.discourse.org/t/how-to-modify-email-settings/60202 "2017-03-31T00:11:09Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![D2Rhino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/d2rhino/32/70070_2.png) [@D2Rhino](https://meta.discourse.org/u/D2Rhino)
#### Post date: [March 31, 2017, 12:11am UTC](https://meta.discourse.org/t/how-to-modify-email-settings/60202/1 "2017-03-31T00:11:09Z")

</div>

First thanks for building the only forum worth using, from a user’s perspective, anyway! Great work, beautifully designed, and I much appreciate it.

So my question is I signed up for Sparkpost and want to modify my email settings to use it rather than my personal SMTP/email provider (which isn’t working, and after reading docs on github, it looks like I can solve the issue by switching to Sparkpost). Sparkpost is all set up with domains verified, DNS records set, etc.

BUT…it doesn’t look like I can alter my forum’s email settings via GUI and must do it via command line (a big ouch)!

So, I don’t know anything about Linux command line. What do I type in to even allow me reach these settings in my digital ocean box once I’m connected as root?

Any chance everything will be GUI at some point for Discourse? It’ll be required for it to reach wider adoption…

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [March 31, 2017, 12:16am UTC](https://meta.discourse.org/t/how-to-modify-email-settings/60202/2 "2017-03-31T00:16:32Z")

</div>

The settings can’t be modified in the web interface, and given that they’re pretty much fire-and-forget settings, it’s unlikely they’ll be brought into the web interface any time soon.

To make the change, do the following once you’re in your droplet as `root`:

1. Run `cd /var/discourse`
2. Run `nano containers/app.yml`
3. Edit SMTP-related settings as needed
4. Exit out of the editor with Ctrl-X (and select ‘Y’ to save changes)
5. Run `./launcher rebuild app`
6. Wait a few minutes for the rebuild to complete
7. …
8. PROFIT!

---

<div class="post-metadata">

### Author: ![D2Rhino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/d2rhino/32/70070_2.png) [@D2Rhino](https://meta.discourse.org/u/D2Rhino)
#### Post date: [March 31, 2017, 12:25am UTC](https://meta.discourse.org/t/how-to-modify-email-settings/60202/3 "2017-03-31T00:25:08Z")

</div>

👍😀 thanks a ton from us Linux-ignorant types!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 31, 2017, 4:37am UTC](https://meta.discourse.org/t/how-to-modify-email-settings/60202/4 "2017-03-31T04:37:31Z")

</div>

You can replace steps 2-5 with

```
./discourse-setup

```

It will now (as of a couple weeks ago) let you change the settings and avoid nano. (You actually have to

```
./launcher stop app

```

But it’ll tell you that.

---

<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: [May 20, 2019, 12:44pm UTC](https://meta.discourse.org/t/how-to-modify-email-settings/60202/5 "2019-05-20T12:44:02Z")

</div>



---

<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: [June 19, 2019, 12:44pm UTC](https://meta.discourse.org/t/how-to-modify-email-settings/60202/6 "2019-06-19T12:44:11Z")

</div>

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