This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/website/docs/troubleshooting/emails.md
Jens Langhammer c663deb659 website/docs: note to not use quotation marks for email
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-11-21 21:52:29 +01:00

596 B

title
Troubleshooting Email sending

To test if an email stage, or the global email settings are configured correctly, you can run the following command:

ak test_email <to address> [-s <stage name>]
```

If you omit the `-s` parameter, the email will be sent using the global settings. Otherwise, the settings of the specified stage will be used.

To run this command with docker-compose, use

```
docker-compose exec worker ak test_email [...]
```

To run this command with Kubernetes, use

```
kubectl exec -it deployment/authentik-worker -c authentik -- ak test_email [...]
```