Keycloak Test Email fails with Error " Failed to Send Email "

Hi Team ,

We have Installed & Configured Keycloak on different kubernetes environments for our use case. We configured AWS SES for smtp configurations. The Email option is working on one kubernetes cluster but not other .We are using same smtp credentials for both Keycloak.
Below is the keycloak logs :
org.keycloak.email.EmailException: com.sun.mail.util.MailConnectException: Couldn’t connect to host, port: email-smtp.xx-xxx-1.amazonaws.com, 587; timeout 10000;

image

1 Like

Try only StartTLS and not Enable SSL

1 Like

Actually, your config looks like you’ve set port 465, and your log shows 587.

If it’s a timeout, you should also check network connectivity between your server and that host/port.

Hi @xgp

Thank you for the reply , Tried without SSL also same error

So what happened, did it fix ?