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