# Disable all users email notifications?

**URL:** https://meta.discourse.org/t/disable-all-users-email-notifications/76239
**Category:** Support
**Created:** [December 17, 2017, 12:08am UTC](https://meta.discourse.org/t/disable-all-users-email-notifications/76239 "2017-12-17T00:08:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [December 17, 2017, 12:08am UTC](https://meta.discourse.org/t/disable-all-users-email-notifications/76239/1 "2017-12-17T00:08:54Z")

</div>

Hi.  
I’ve imported a phpbb forum to Discourse.  
I’ve also imported some other messages and it seems that all the imported users are receiving activity emails from the Discourse forum, which I don’t want since I’m still heavily working on my forum and it isn’t opened to public yet.

So I need to disable all email notifications for the users as soon as possible. How can I achieve this?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 17, 2017, 2:47am UTC](https://meta.discourse.org/t/disable-all-users-email-notifications/76239/2 "2017-12-17T02:47:38Z")

</div>

There is a site setting to disable all email. The importers usually set this for you, or they should anyway.

---

<div class="post-metadata">

### Author: ![Oliver\_Walker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oliver_walker/32/155432_2.png) [@Oliver\_Walker](https://meta.discourse.org/u/Oliver_Walker)
#### Post date: [February 3, 2020, 5:39pm UTC](https://meta.discourse.org/t/disable-all-users-email-notifications/76239/3 "2020-02-03T17:39:48Z")

</div>

For anyone who needs to do this.. I just had to change this for an old version of a site that just had a DNS change. Only accessible through SSH.

The steps to do this are ssh into the server.

```
cd /var/discourse
sudo ./launcher enter app

```

if your container has a different name, replace app with the container name

```
rails c
SiteSetting.disable_email="yes"

```

I found the site setting by using the tab auto complete function after typing in disable.. it may be helpful to others to know 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: [December 27, 2023, 2:32pm UTC](https://meta.discourse.org/t/disable-all-users-email-notifications/76239/4 "2023-12-27T14:32:39Z")

</div>


