Merge branch 'release/2.4.0' into 'stable'
[akkoma] / docs / administration / CLI_tasks / email.md
index 7b7a8457afe4ee6cc7281eca5fcbcd0cb8da7f7a..2bb57bea4db8bf5eb97c176c2a993a1e4e00dbb2 100644 (file)
@@ -1,24 +1,45 @@
-# Managing emails
+# EMail administration tasks
 
 {! backend/administration/CLI_tasks/general_cli_task_info.include !}
 
 ## Send test email (instance email by default)
 
-```sh tab="OTP"
- ./bin/pleroma_ctl email test [--to <destination email address>]
-```
+=== "OTP"
 
-```sh tab="From Source"
-mix pleroma.email test [--to <destination email address>]
-```
+    ```sh
+     ./bin/pleroma_ctl email test [--to <destination email address>]
+    ```
 
+=== "From Source"
 
-Example: 
+    ```sh
+    mix pleroma.email test [--to <destination email address>]
+    ```
 
-```sh tab="OTP"
-./bin/pleroma_ctl email test --to root@example.org
-```
+Example:
 
-```sh tab="From Source"
-mix pleroma.email test --to root@example.org
-```
+=== "OTP"
+
+    ```sh
+    ./bin/pleroma_ctl email test --to root@example.org
+    ```
+
+=== "From Source"
+
+    ```sh
+    mix pleroma.email test --to root@example.org
+    ```
+
+## Send confirmation emails to all unconfirmed user accounts
+
+=== "OTP"
+
+    ```sh
+     ./bin/pleroma_ctl email resend_confirmation_emails
+    ```
+
+=== "From Source"
+
+    ```sh
+    mix pleroma.email resend_confirmation_emails
+    ```