Email notifications are not sent when the Lines of Code (LoC) exceed

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:

  1. Current license supports 10,000,000 LoC.
  2. previous analysed 5,738,686 LoC.
  3. Set the LoC Threshold to 4,261,312 LoC.
  4. Scanned an additional 23 lines, to exceeding the threshold.
  5. Current analyzed 5,738,709 LoC.
  6. Wait for 24 hours - no email notification received.

So, have a few questions::

  1. 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?
  2. Are email notifications triggered only once for each threshold breach?
  3. What specific configurations or settings should be verified to ensure that email notifications are successfully sent?

Hi,

Welcome to the Community!

Yes! Without these settings, it’s like tossing your letter into the wind and hoping it will reach its recipient.

 
HTH,
Ann

Hi Ann,

Thank you for your prompt response and confirmation regarding the SMTP configuration. We appreciate your assistance in this matter.

As discussed, we will proceed with setting up the configuration and will verify its functionality to ensure everything is working as intended.

If we encounter any issues or have further questions, we will reach out for your support.

Thank you once again for your help!