Configure SMTP for outbound emails
In order to configure outbound email, follow the steps below:
- Log in to the SonarQube dashboard and click on the “Administration” tab.
- Browse to the “Configuration -> General settings -> General” menu.
Under the “Email” section, fill out the required information. The settings below configure SonarQube to send emails through a Gmail account. Replace USERNAME and PASSWORD with your Gmail account username and password, respectively.
SMTP port: 587 SMTP host: smtp.gmail.com Secure connection: starttls SMTP password: PASSWORD SMTP username: USERNAME@gmail.com
Save the changes.
To configure the application to use other third-party SMTP services for outgoing email, such as SendGrid, refer to the FAQ.
NOTE: If you are using Gmail as the outbound email server and have experienced issues trying to send emails correctly, check the Gmail SMTP troubleshooting page to learn the causes of these issues and how to solve them.