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


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?

(Régis Hanol) #2

Have you tried enabling emails in the site settings? :wink:

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


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

(Régis Hanol) #4

SSH into your server and then

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

or alternatively

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).


That worked, thanks very much!

(Régis Hanol) closed #6