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

**URL:** <https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator-no-email-notifications-of-any-kind-will-be-sent/48254>\
**Category:** Support\
**Created:** [2016年八月5日 14:02 UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator-no-email-notifications-of-any-kind-will-be-sent/48254 "2016-08-05T14:02:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![moparisthebest](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moparisthebest/32/116760_2.png) [@moparisthebest](https://meta.discourse.org/u/moparisthebest)\
**Post date:** [2016年八月5日 14:02 UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator-no-email-notifications-of-any-kind-will-be-sent/48254/1 "2016-08-05T14:02:15Z")

</div>

I was running an importer which finished, but this message is still on my forum and email is indeed disabled. I tried restarting and even rebuilding the container, what else can I do to fix it?

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2016年八月5日 14:14 UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator-no-email-notifications-of-any-kind-will-be-sent/48254/2 "2016-08-05T14:14:03Z")

</div>

Have you tried _enabling emails_ in the site settings? 😉

FYI: importers automatically disable emails in order to prevent unwanted digests and emails from being sent until the import has been validated.

---

<div class="post-metadata">

**Author:** ![moparisthebest](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moparisthebest/32/116760_2.png) [@moparisthebest](https://meta.discourse.org/u/moparisthebest)\
**Post date:** [2016年八月5日 14:15 UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator-no-email-notifications-of-any-kind-will-be-sent/48254/3 "2016-08-05T14:15:22Z")

</div>

That’s the problem, I can’t set a password for my imported admin account without emails being enabled ☹

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2016年八月5日 14:16 UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator-no-email-notifications-of-any-kind-will-be-sent/48254/4 "2016-08-05T14:16:15Z")

</div>

SSH into your server and then

```plaintext
cd /var/discourse
./launcher enter app
rails c
SiteSetting.disable_emails = false

```

or alternatively

```plaintext
cd /var/discourse
./launcher enter app
rake admin:create

```

and use the **same** email address for your admin account (_that way you don’t enable email_).

---

<div class="post-metadata">

**Author:** ![moparisthebest](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moparisthebest/32/116760_2.png) [@moparisthebest](https://meta.discourse.org/u/moparisthebest)\
**Post date:** [2016年八月5日 14:20 UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator-no-email-notifications-of-any-kind-will-be-sent/48254/5 "2016-08-05T14:20:35Z")

</div>

That worked, thanks very much!

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2016年八月5日 14:20 UTC](https://meta.discourse.org/t/all-outgoing-email-has-been-globally-disabled-by-an-administrator-no-email-notifications-of-any-kind-will-be-sent/48254/6 "2016-08-05T14:20:43Z")

</div>


