From c9c49129c7d94e65f9aea9a601c476fa0adaba7b Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Fri, 25 Apr 2025 10:55:18 +0200 Subject: [PATCH] Remove outdated information about configuring the email server Closes #38351 Signed-off-by: Alexander Schwartz --- docs/tests.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/tests.md b/docs/tests.md index 22b3763602c..68f33c64e17 100644 --- a/docs/tests.md +++ b/docs/tests.md @@ -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 -----------