Versions Used: SonarQube Enterprise Edition, v2025.1
how is SonarQube deployed: Docker
Error Observed: Email notifications are not sent when the Lines of Code (LoC) exceed the specified threshold in the License Manager settings.
Steps to Reproduce:
- Current license supports 10,000,000 LoC.
- previous analysed 5,738,686 LoC.
- Set the LoC Threshold to 4,261,312 LoC.
- Scanned an additional 23 lines, to exceeding the threshold.
- Current analyzed 5,738,709 LoC.
- Wait for 24 hours - no email notification received.
So, have a few questions::
- Is it necessary to configure the SMTP settings in Administration > Configuration → General Settings → Email Notifications to receive these notifications, or Are these notifications sent to the administrator’s email accounts by default?
- Are email notifications triggered only once for each threshold breach?
- What specific configurations or settings should be verified to ensure that email notifications are successfully sent?