aboutsummaryrefslogtreecommitdiff
path: root/docs/administration/CLI_tasks
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-11-29 14:45:16 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2021-04-22 08:02:11 +0300
commit69f8f9446e862286d631b823e836d5fa049573ed (patch)
treed58ccf2bd2a2acb5d4aaba2cfea01be4b72ebb09 /docs/administration/CLI_tasks
parentb050adb5e2d1add4cb2f5d24010ace33af16a381 (diff)
downloadpleroma-69f8f9446e862286d631b823e836d5fa049573ed.tar.gz
batch mention email notifications in timeframefeature/2295-email-mention-notification
Diffstat (limited to 'docs/administration/CLI_tasks')
-rw-r--r--docs/administration/CLI_tasks/user.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/administration/CLI_tasks/user.md b/docs/administration/CLI_tasks/user.md
index 24fdaeab4..61774f469 100644
--- a/docs/administration/CLI_tasks/user.md
+++ b/docs/administration/CLI_tasks/user.md
@@ -300,3 +300,36 @@
```sh
mix pleroma.user unconfirm_all
```
+
+## Update email notifications settings for user
+
+=== "OTP"
+
+ ```sh
+ ./bin/pleroma_ctl user email_notifications <nickname> [option ...]
+ ```
+
+=== "From Source"
+
+ ```sh
+ mix pleroma.user email_notifications <nickname> [option ...]
+ ```
+
+### Options
+
+- `--digest`/`--no-digest` - whether the user should receive digest emails
+- `--notifications` - what types of email notifications user should receive (can be aliased with `-n`). To disable all types pass `off` value.
+
+Example:
+
+=== "OTP"
+
+ ```sh
+ ./bin/pleroma_ctl user email_notifications lain --digest -n mention
+ ```
+
+=== "From Source"
+
+ ```sh
+ mix pleroma.user email_notifications lain --digest -n mention
+ ```