summaryrefslogtreecommitdiff
path: root/docs/administration/CLI_tasks/email.md
blob: d9aa0e71ba1b433cebb716f51d8ec379916af3f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# EMail administration tasks

{! backend/administration/CLI_tasks/general_cli_task_info.include !}

## Send test email (instance email by default)

=== "OTP"

    ```sh
     ./bin/pleroma_ctl email test [--to <destination email address>]
    ```

=== "From Source"

    ```sh
    mix pleroma.email test [--to <destination email address>]
    ```


Example: 

=== "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 send_confirmation_mails
    ```

=== "From Source"

    ```sh
    mix pleroma.email send_confirmation_mails
    ```