Disable all users email notifications?

Hi.
I’ve imported a phpbb forum to Discourse.
I’ve also imported some other messages and it seems that all the imported users are receiving activity emails from the Discourse forum, which I don’t want since I’m still heavily working on my forum and it isn’t opened to public yet.

So I need to disable all email notifications for the users as soon as possible. How can I achieve this?

There is a site setting to disable all email. The importers usually set this for you, or they should anyway.

Para quem precisa fazer isso: acabei de alterar isso para uma versão antiga de um site que passou apenas por uma mudança de DNS. Acesso apenas via SSH.

Os passos para fazer isso são: conectar-se ao servidor via SSH.

cd /var/discourse
sudo ./launcher enter app

Se o seu container tiver um nome diferente, substitua “app” pelo nome do container.

rails c
SiteSetting.disable_email="yes"

Eu encontrei a configuração do site usando a função de autocompletar com a tecla Tab depois de digitar “disable”. Pode ser útil para outras pessoas saber disso.