On Sat, Jan 12, 2019 at 10:44 AM Kunal Kumar <wolfbro92(a)gmail.com> wrote:
Hi,
I am trying to use the Forgot Password function for my Keycloak
authentication. So I have already set On for the Forgot Password in the
Login section. And I have tried to set up a the configurations under Realm
> Email, where I put
Host :
smtp.gmail.com
Port : 587
Those settings look insufficient given that Google SMTP server uses
authentication, so you need to also supply a username and password.
Also, port 587 is for STARTTLS, so you are required to enable that as
well, but that's kind of irrelevant when you cannot supply auth
details.
From what I see in the DefaultEmailSenderProvider, there is no option
to provide such settings through Keycloak's UI and use them when
connecting to an SMTP server.
You would have to implement your own EmailSenderProvider, and deploy
this as a module, to send mails via Google's SMTP servers.
But when testing the connection, I keep getting the error *"Error! Failed
to send email".*
What could be the reason for this?
Regards,
Kunal
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user