# All outgoing email has been globally disabled by an administrator

**URL:** https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584
**Category:** Support
**Created:** [Setembro 22, 2015, 12:54pm UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584 "2015-09-22T12:54:24Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [Setembro 22, 2015, 12:54pm UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584/1 "2015-09-22T12:54:24Z")

</div>

Just saw this message appear at the top of my forum:

> All outgoing email has been globally disabled by an administrator. No email notifications of any kind will be sent.

I was re-running an import script. Still using Gmail, but `/logs` doesn’t show anything for the past 24 hours (`Debug` through `Fatal` are checked).

_UPDATE_: after reloading the page, the message is gone. What might’ve happened?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [Setembro 22, 2015, 1:23pm UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584/2 "2015-09-22T13:23:26Z")

</div>

The import script probably disable emails during import so it’s fast and doesn’t send emails with unfinished data.

---

<div class="post-metadata">

### Author: ![GREPY](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grepy/32/121438_2.png) [@GREPY](https://meta.discourse.org/u/GREPY)
#### Post date: [Novembro 2, 2016, 9:09am UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584/3 "2016-11-02T09:09:28Z")

</div>

Hello, I have intentionally disabled all outgoing emails. Now all users see the message on the top of the forum: _All outgoing email has been globally disabled by an administrator. No email notifications of any kind will be sent._

How can I disable this message? (Having outgoing emails still disabled)

---

<div class="post-metadata">

### Author: ![GREPY](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grepy/32/121438_2.png) [@GREPY](https://meta.discourse.org/u/GREPY)
#### Post date: [Novembro 2, 2016, 9:14am UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584/4 "2016-11-02T09:14:07Z")

</div>

OK, I got this quite fast.

Just need to add CSS customization:

```
.alert-emails-disabled {
    display: none;
}

```

---

<div class="post-metadata">

### Author: ![pprp](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@pprp](https://meta.discourse.org/u/pprp)
#### Post date: [Outubro 16, 2018, 12:11pm UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584/6 "2018-10-16T12:11:12Z")

</div>

I have tired to restore from UI, and restore got failed, and I got message:

> All outgoing email has been globally disabled by an administrator. No email notifications of any kind will be sent.

```plaintext
root@xxx-app:/var/www/discourse# rails c
[1] pry(main)> SiteSetting.disable_emails = false
Discourse::InvalidParameters: value
from /var/www/discourse/lib/site_settings/type_supervisor.rb:181:in `validate_value'
[2] pry(main)>

```

but it does not help,

please let me know, how to remove this message and enable notifications.  
Thanks.

@Falco, please let me know how to remove message and enable notifications.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [Outubro 16, 2018, 12:15pm UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584/7 "2018-10-16T12:15:21Z")

</div>

Try `SiteSetting.disable_emails = 'no'`.

---

<div class="post-metadata">

### Author: ![pprp](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@pprp](https://meta.discourse.org/u/pprp)
#### Post date: [Outubro 16, 2018, 12:51pm UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584/8 "2018-10-16T12:51:04Z")

</div>

thanks very much.

I have set “disable emails” to “no”, at /admin/site\_settings/category/emailI, then it worked.

---

<div class="post-metadata">

### Author: ![tkimnguyen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tkimnguyen/32/148077_2.png) [@tkimnguyen](https://meta.discourse.org/u/tkimnguyen)
#### Post date: [Junho 30, 2019, 2:43pm UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584/9 "2019-06-30T14:43:42Z")

</div>

Você também pode configurá-lo via interface gráfica (parece mais fácil do que ter que editar um arquivo de configuração):

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/6/26c1a16227436e04e68f8ff096995930cbccb712.png)

---

<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: [Julho 30, 2019, 2:43pm UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator/33584/10 "2019-07-30T14:43:55Z")

</div>

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