Remove outdated information about configuring the email server

Closes #38351

Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
This commit is contained in:
Alexander Schwartz
2025-04-25 10:55:18 +02:00
committed by GitHub
parent 4f0c36e70d
commit c9c49129c7

View File

@@ -112,16 +112,15 @@ To start a test mail server for testing email sending run:
or run org.keycloak.testsuite.MailServer from your favourite IDE!
To configure Keycloak to use the above server add the following system properties:
To configure Keycloak to use the above server, enter the following values in the realm configuration in the tab **Email**:
| Field | Value |
|-------|-------------------|
| From | auto@keycloak.org |
| Host | localhost |
| Port | 3025 |
keycloak.mail.smtp.from=auto@keycloak.org
keycloak.mail.smtp.host=localhost
keycloak.mail.smtp.port=3025
For example if using the test utils Keycloak server start it with:
mvn exec:java -Pkeycloak-server -Dkeycloak.mail.smtp.from=auto@keycloak.org -Dkeycloak.mail.smtp.host=localhost -Dkeycloak.mail.smtp.port=3025
LDAP server
-----------