Keycloak outgoing mail
Configure realm-level SMTP and verify a password-reset message end to end.
Last updated
On this page (5)
Keycloak · Outgoing mail
Before you start
- Realm admin access and non-production account.
- Relay host, sender authorization and approved TLS/auth settings.
Procedure
- In the target realm’s Realm settings → Email, enter Host, Port and From; set Reply To only if replies should go to a different mailbox.
- Set SSL or StartTLS and authentication as required by the relay. Store the credential according to the deployment’s secret policy.
- Use the realm connection test with an admin mailbox configured, then run a password reset for a disposable realm account.
Verify the result
- The intended mailbox receives the message and the reset link uses the correct staging hostname.
- The link completes the expected realm flow; the sender and reply-to match policy.
