move to 2.5.5
[anni] / docs / administration / CLI_tasks / email.md
1 # EMail administration tasks
2
3 {! backend/administration/CLI_tasks/general_cli_task_info.include !}
4
5 ## Send test email (instance email by default)
6
7 === "OTP"
8
9     ```sh
10      ./bin/pleroma_ctl email test [--to <destination email address>]
11     ```
12
13 === "From Source"
14
15     ```sh
16     mix pleroma.email test [--to <destination email address>]
17     ```
18
19 Example:
20
21 === "OTP"
22
23     ```sh
24     ./bin/pleroma_ctl email test --to root@example.org
25     ```
26
27 === "From Source"
28
29     ```sh
30     mix pleroma.email test --to root@example.org
31     ```
32
33 ## Send confirmation emails to all unconfirmed user accounts
34
35 === "OTP"
36
37     ```sh
38      ./bin/pleroma_ctl email resend_confirmation_emails
39     ```
40
41 === "From Source"
42
43     ```sh
44     mix pleroma.email resend_confirmation_emails
45     ```