2020-09-08 22:01:55 +00: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 06:49:12 +00:00
|
|
|
=== "OTP"
|
2020-01-20 12:23:21 +00:00
|
|
|
|
2020-08-15 06:49:12 +00: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
|
|
|
|
2020-12-12 14:30:08 +00:00
|
|
|
Example:
|
2020-01-20 12:23:21 +00:00
|
|
|
|
2020-08-15 06:49:12 +00: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 06:49:12 +00:00
|
|
|
```sh
|
|
|
|
mix pleroma.email test --to root@example.org
|
|
|
|
```
|
2020-09-08 21:39:08 +00:00
|
|
|
|
|
|
|
## Send confirmation emails to all unconfirmed user accounts
|
|
|
|
|
|
|
|
=== "OTP"
|
|
|
|
|
|
|
|
```sh
|
2020-12-12 14:30:08 +00:00
|
|
|
./bin/pleroma_ctl email resend_confirmation_emails
|
2020-09-08 21:39:08 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
=== "From Source"
|
|
|
|
|
|
|
|
```sh
|
2020-12-12 14:30:08 +00:00
|
|
|
mix pleroma.email resend_confirmation_emails
|
2020-09-08 21:39:08 +00:00
|
|
|
```
|