Files
authentik/website/docs/troubleshooting/emails.md
rickra 1d5d096ffc website/docs: use default container name from helm chart in recovery documentation for kubernetes (#10919)
* use default container name from helm chart

the default name for the worker container is worker and not authentik.
see https://github.com/goauthentik/helm/blob/main/charts/authentik/values.yaml#L603

Signed-off-by: rickra <richardkraus98@pm.me>

* fix container name everywhere

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: rickra <richardkraus98@pm.me>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2024-08-15 14:56:52 +02:00

28 lines
765 B
Markdown

---
title: Troubleshooting Email sending
---
:::info
Some hosting providers block outgoing SMTP ports, in which case you'll have to host an SMTP relay on a different port with a different provider.
:::
To test if an email stage, or the global email settings are configured correctly, you can run the following command:
```shell
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
```shell
docker compose exec worker ak test_email [...]
```
To run this command with Kubernetes, use
```shell
kubectl exec -it deployment/authentik-worker -c worker -- ak test_email [...]
```