SonarQube's SMTP settings can be changed in the web UI.
How can I set those SMTP settings in the sonar.properties
configuration file?
SonarQube's SMTP settings can be changed in the web UI.
How can I set those SMTP settings in the sonar.properties
configuration file?
You can also use sonar.properties
to define the smtp settings. But this approach is not recommended and therefore barely documented.
However, there is a little of documentation in the sources.
An example:
email.smtp_host.secured=my.smtp.server
email.smtp_port.secured=9918
email.smtp_secure_connection.secured=true
email.smtp_username.secured=slartidan
email.smtp_password.secured=password123
email.from=slartidan@example.com
email.prefix=[SONARQUBE] Important: