2020-09-09 00:01:55 +02:00
|
|
|
# EMail administration tasks
|
2020-01-20 13:23:21 +01:00
|
|
|
|
|
|
|
{! backend/administration/CLI_tasks/general_cli_task_info.include !}
|
|
|
|
|
|
|
|
## Send test email (instance email by default)
|
|
|
|
|
2020-08-15 08:49:12 +02:00
|
|
|
=== "OTP"
|
2020-01-20 13:23:21 +01:00
|
|
|
|
2020-08-15 08:49:12 +02:00
|
|
|
```sh
|
|
|
|
./bin/pleroma_ctl email test [--to <destination email address>]
|
|
|
|
```
|
|
|
|
|
|
|
|
=== "From Source"
|
|
|
|
|
|
|
|
```sh
|
|
|
|
mix pleroma.email test [--to <destination email address>]
|
|
|
|
```
|
2020-01-20 13:23:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
2020-08-15 08:49:12 +02:00
|
|
|
=== "OTP"
|
|
|
|
|
|
|
|
```sh
|
|
|
|
./bin/pleroma_ctl email test --to root@example.org
|
|
|
|
```
|
|
|
|
|
|
|
|
=== "From Source"
|
2020-01-20 13:23:21 +01:00
|
|
|
|
2020-08-15 08:49:12 +02:00
|
|
|
```sh
|
|
|
|
mix pleroma.email test --to root@example.org
|
|
|
|
```
|
2020-09-08 23:39:08 +02:00
|
|
|
|
|
|
|
## 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
|
|
|
|
```
|