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?

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:

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

6 Likes

That worked, thanks very much!

1 Like