miniature-airline-97097
11/17/2023, 1:55 PMchilly-king-10285
11/17/2023, 1:55 PMchilly-king-10285
11/17/2023, 1:56 PMjson { "<http://ory.sh/kratos|ory.sh/kratos>": { "verification": { "via": "email" } } }
You can find more details about this in the [Account activation and email verification settings](https://www.ory.sh/docs/kratos/self-hosted/account-activation-email-verification) documentation. 2. SMTP Configuration: Email verification requires a working SMTP connection. Ensure that your configuration file has the courier SMTP connection configured: yaml courier: smtp: connection_uri: <smtps://username:password@smtp-server:1234/>
3. Verification Flow Enabled: Make sure that the verification flow is enabled in your configuration: yaml selfservice: flows: verification: enabled: true ui_url: <http://127.0.0.1:4455/verification>
4. Certificate-based Authentication: If your SMTP server enforces certificate-based authentication, you can configure the client certificate and client private key to use to connect to the server. The files must contain PEM encoded data: yaml courier: smtp: client_cert_path: /somepath/client.cert client_key_path: /somepath/client.key
You can find more details about this in the [Mail courier in self-hosted Ory Kratos](https://www.ory.sh/docs/kratos/self-hosted/mail-courier-selfhosted) documentation. If you've checked all these and the issue persists, you might want to look into debugging Ory Kratos in Docker with Delve as explained in the [Debugging Ory Kratos in Docker with Delve](https://www.ory.sh/docs/kratos/debug/debug-docker-delve-ory-kratos) documentation.