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.

Per chiunque abbia bisogno di farlo… ho dovuto modificare questa configurazione per una versione vecchia di un sito che ha subito solo un cambio DNS. Accessibile solo tramite SSH.

I passaggi da seguire sono: accedere al server via SSH.

cd /var/discourse
sudo ./launcher enter app

se il tuo container ha un nome diverso, sostituisci ‘app’ con il nome del container

rails c
SiteSetting.disable_email="yes"

Ho trovato l’impostazione del sito utilizzando la funzione di completamento automatico con il tasto TAB dopo aver digitato ‘disable’… potrebbe essere utile sapere anche ad altri.