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.

「いいね!」 2

これを行う必要がある方のために… DNS 変更直後の旧バージョンのサイトでは、これを変更するだけで済みました。SSH でのみアクセス可能です。

手順は、サーバーに SSH で接続することです。

cd /var/discourse
sudo ./launcher enter app

コンテナの名前が異なる場合は、app をコンテナ名に置き換えてください。

rails c
SiteSetting.disable_email="yes"

disable と入力した後、タブ補完機能を使ってサイト設定を見つけました。他の方にも役立つかもしれません。

「いいね!」 2