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