# Not able to test email Test Connection

**URL:** <https://forum.keycloak.org/t/not-able-to-test-email-test-connection/11789>\
**Category:** Configuring the server\
**Created:** [October 29, 2021, 1:11am UTC](https://forum.keycloak.org/t/not-able-to-test-email-test-connection/11789 "2021-10-29T01:11:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@iqbal](https://forum.keycloak.org/u/iqbal)\
**Post date:** [October 29, 2021, 1:11am UTC](https://forum.keycloak.org/t/not-able-to-test-email-test-connection/11789/1 "2021-10-29T01:11:05Z")

</div>

login to keycloak admin console.  
go to realm setting and then email tab.  
fill all the required details  
click on test connection button  
error occurred. ![keycloak-test-email|644x500]

12:04:13,250 ERROR [org.keycloak.services] (default task-169) KC-SERVICES0029: Failed to send email: javax.mail.AuthenticationFailedException: 534-5.7.14 \<[Sign in - Google Accounts](https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbu)  
534-5.7.14 FKDeynAkdWRxKy5bCgWd\_nWzSOyehBY12drzgm3vjbqS5fDOl8HEhhafQjBmXgZHT5bOk  
534-5.7.14 kfIjNMH\_HwXp3-PF00JQzlnqEF4TurARvKs5\_B2q7175JjpgPZLRIhODHrcpBHl0\>  
534-5.7.14 Please log in via your web browser and then try again.  
534-5.7.14 Learn more at  
534 5.7.14 [Check Gmail through other email platforms - Gmail Help](https://support.google.com/mail/answer/78754) y4sm2979897ejr.101 - gsmtp

(upload://5FcObiE1vo6lD2MY5VhDpITBqQh.png)
