Hello Team,
I have set up SonarQube on AWS EC2 Instance and I able to access all the features except email notifications.
As per guidelines, I have setup Email Configuration from Configuation>General>Email. Following are the details
Email Prefiex: [SONARQUBE]
From address: (Gmail Address from where I want to send an email)
From Name: SonarQube
Secure connection: starttls
SMTP host: smtp.gmail.com
Password: (Gmail Account Password)
SMTP port: 587
SMTP username: (Gmail Address)
But when I try to test this configuration, I am getting following Error
==
535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials r2sm9270917pgv.16 - gsmtp . Sending the email to the following server failed: smtp.gmail.com:587
Please note that, I have enabled less secure apps option in gmail account and it is not using 2-factor authentication.
I am using SonarQube Version 6.7.6 (build 38781).
I have tried all combinations of ports like 465 and 25 as well but not working. Can you please check and revert.
Thanks in Advance.