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