# Email notifications not trigerred when new quality issues are detected

**URL:** <https://community.sonarsource.com/t/email-notifications-not-trigerred-when-new-quality-issues-are-detected/190810>\
**Category:** SonarQube Server / Community Build\
**Created:** [November 3, 2026, 1:27pm UTC](https://community.sonarsource.com/t/email-notifications-not-trigerred-when-new-quality-issues-are-detected/190810 "2026-11-03T13:27:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Usinelogicielle](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/usinelogicielle/32/64329_2.png) [@Usinelogicielle](https://community.sonarsource.com/u/Usinelogicielle)\
**Post date:** [November 3, 2026, 1:27pm UTC](https://community.sonarsource.com/t/email-notifications-not-trigerred-when-new-quality-issues-are-detected/190810/1 "2026-11-03T13:27:18Z")

</div>

Hello SonarSource team,

I’m reaching out because I’m experiencing an issue with email notifications in SonarQube Community Build.  
I’m trying to configure email notifications as described in your official documentation :

- [Notifications | SonarQube Community Build | Sonar Documentation](https://docs.sonarsource.com/sonarqube-community-build/instance-administration/system-functions/notifications)
- [Subscribing to notifications | SonarQube Community Build | Sonar Documentation](https://docs.sonarsource.com/sonarqube-community-build/user-guide/managing-your-account/subscribing-to-notifications)

## 1- Environment :

- Product : SonarQube Community Build

- Version : 26.7.0.124771

## 2- SMTP Configuration :

First, Iconfigured the SMTP server through the SonarQube Admin interface.

I Also used the built-in test functionality to verify the SMTP configuration and email delivery.

The test was successful, and I correctly received the test notification email. This confirms that the SMTP server configured is working properly.

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/2/c/2c83644684e430b7b1220ab7783d0bc40ac3831a.png)

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/6/f/6f38442606c2899249a7114650dbe8062fa785bc.png)

## 3- Steps to reproduce :

However, I encountered an issue when testing notifications in a real-world scenario.

Here are the steps I follewed :

- Create a new project in SonarQube
- Go to My Account \> Notifications and activate Notifications for this project (I also activated all the notifications pannel)

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/4/4/44e834cabddebf655b6ceccba11facee6d65278c.png)

- Run an initial Analysis with no source code files
- Add a source code file containing several known quality issues (see the example below)

```auto
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core">
        
        <f:metadata>
                <f:viewParam name="user" value="#{userEdit.user}" converter="#{userConvertor}" />
                <f:event listener="#{userEdit.preRenderView()}" type="preRenderView"/>
        </f:metadata>
        
        <h:head>
                <title>User list</title>
        </h:head>
        
        <h:body>
                
                <li>Apple</li>
                <li>Strawberry</li>

                <h:messages />
                
                <h:form>
                        
                        <h:panelGrid columns="2">
                                <f:facet name="header">User</f:facet>
                                
                                <h:outputLabel value="Id" rendered="#{!empty userEdit.user.id}" />
                                <h:outputLabel value="#{userEdit.user.id}" rendered="#{!empty userEdit.user.id}" />
                                        
                                <h:outputLabel for="firstName" value="First name" />
                                <h:inputText id="firstName" value="#{userEdit.user.firstName}" label="First name" />
                                
                                <h:outputLabel for="lastName" value="Last name" />
                                <h:inputText id="lastName" value="#{userEdit.user.lastName}" label="Last name" />
                                
                                <h:outputLabel for="birthDay" value="Birth day" />
                                <h:inputText id="birthDay" value="#{userEdit.user.birthday}" label="Birth day">
                                        <f:convertDateTime pattern="dd-MM-yyyy"/>
                                </h:inputText>
                                
                                <h:outputLabel for="email" value="Email" />
                                <h:inputText id="email" value="#{userEdit.user.email}" />
                        
                                <h:commandButton action="#{userEdit.saveUser}" value="Submit" />
                                <h:button outcome="index.xhtml" value="Cancel" />
                        </h:panelGrid>
                </h:form>
        
        </h:body>
</html>

```

- Run a second analysis of the project
- Check the project dashboard to see the new issues (correctly assigned to me)

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/d/1/d1afd935d98062f537eeda5d3a60199319b477a1.png)

After the second analysis, the newly aded source file is correctly displayed in the interface, and all the expected quality issues are detected and assigned to me.

However, no email notification is send to me. I also checked my spam and junk mail folders, but nothing.

I also tested notifications triggered by issue status changes by marking an issue as False positive and Accepted. However, once again, no email notification was received.

Is this behavior expedted in SonarQube Community Build ? Did I miss something?

## 4- Working case :

However, I did identify one scenario where email notifications work as expected : when a change occurs in the Quality Gate status for, an email notification is successfully received.

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/e/e/ee3a09d8d5739f80ba6e5f3d4c72bc7847cc2659.png)

Thak you in advance for your help and any clarification you can provide.

Kind regards,

Usine Logicielle

---

<div class="post-metadata">

**Author:** ![andres](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/andres/32/76342_2.png) [@andres](https://community.sonarsource.com/u/andres)\
**Post date:** [November 6, 2026, 10:00am UTC](https://community.sonarsource.com/t/email-notifications-not-trigerred-when-new-quality-issues-are-detected/190810/2 "2026-11-06T10:00:50Z")

</div>

Hey @Usinelogicielle,

I would expect the “My new issues” notification to fire, indeed. Just to confirm: the issues that are being detected are categorized as “new issues”, right? In other words: they should be issues on new code, not on overall code. From the reproduction workflow you described, I understand that this is the case, but just wanted to double-check.

In any case, the way to troubleshoot this would be with debug-level [server logs](https://docs.sonarsource.com/sonarqube-community-build/server-update-and-maintenance/troubleshooting/server-logs). Could you please set the logs level to DEBUG (Administration \> System), reproduce your issue, set log level back to INFO, and check `ce.log` for the background task that sends the notifications? You probably want to look for a log like `Send issue notifications | newIssuesNotifs=... | myNewIssuesNotifs=... | changesNotifs=...`.

By the way:

> I also tested notifications triggered by issue status changes by marking an issue as False positive and Accepted. However, once again, no email notification was received.

This won’t notify you - the “Changes in issues/hotspots assigned to me” notification [only fires when a different user changes the issue](https://docs.sonarsource.com/sonarqube-community-build/user-guide/managing-your-account/subscribing-to-notifications#overall-notifications-for-any-project), not you.

---

<div class="post-metadata">

**Author:** ![Usinelogicielle](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/usinelogicielle/32/64329_2.png) [@Usinelogicielle](https://community.sonarsource.com/u/Usinelogicielle)\
**Post date:** [November 17, 2026, 7:41am UTC](https://community.sonarsource.com/t/email-notifications-not-trigerred-when-new-quality-issues-are-detected/190810/4 "2026-11-17T07:41:03Z")

</div>

Hello @andres,

Thank you for your time and your reply.

After performing some additional tests, I realized that everithing is actually working.

The issue was that all the actions I performed during my initial tests were carried out using my own account. When I switched to another account and reproduces the same actions (change issue status assigned to my own account), my account correctly received email notifications about the changes made by the other user.

I think it would be helpful to make this behavior a little more explicit in the documentation, as the information was not particularly easy to find.

A eventually noticed a small banner in the subscription settings explaining that users do not receive notifications when they perform the actions themselves on a project.

Thanks again for your time and help!

I think we can clore this thread now! 😉

Have a great day.

Usine Logicielle
