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


#1

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.


#3

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


#5

That worked, thanks very much!


(RĂ©gis Hanol) #6