Merge remote-tracking branch 'upstream/develop' into restrict-origin
[akkoma] / 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
20 Example:
21
22 === "OTP"
23
24 ```sh
25 ./bin/pleroma_ctl email test --to root@example.org
26 ```
27
28 === "From Source"
29
30 ```sh
31 mix pleroma.email test --to root@example.org
32 ```
33
34 ## Send confirmation emails to all unconfirmed user accounts
35
36 === "OTP"
37
38 ```sh
39 ./bin/pleroma_ctl email send_confirmation_mails
40 ```
41
42 === "From Source"
43
44 ```sh
45 mix pleroma.email send_confirmation_mails
46 ```