Sonar can't send test e-mail

sonar-scanner version 4.0.0.1744

I configure sonar-scanner in path Administration > General Settings > General in part of e-mail notifications like it was made in our Jenkins:

Secure connection - ssl

SMTP host - smtp.gmail.com

SMTP password - ourPassword

SMTP port - 465

SMTP username - reporting@gmail.com

When I try to send test e-mail I get this exception:

534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbu 534-5.7.14 9FAH1GBGUlKEKux0P84yNP6eBcITGooSqV2232zZbf-cgAZqF0x26QoAOzV7y9GT1NYnO 534-5.7.14 8iWorG6mRZhXfFS6tc0MGdItTasH9lwhSFOTPbVUTiQhELdtvtSumXIPyKSORkP6> 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 https://support.google.com/mail/answer/78754 g11sm6580567ywe.14 - gsmtp . Sending the email to the following server failed : smtp.gmail.com:465

Sonar logs didn’t help to me. I didn’t find anything related to the problem.

Does anyone know how to fix such problem? please help.

Welcome to the community forum ! Did you had a look at the gmail troubleshooting section indicated in your logs ?

https://support.google.com/mail/answer/78754