Not receiving email notifications from SQ

Using SQ Version 7.9.1.27448 on OpenJDK 11
My notification config:

If I request a test email via web config, I receive it.
However when an analysis result is supposed to send a notification, I don’t.

Here’s log output for when I had SQ analysis complete:

2020.03.03 13:50:21 INFO  ce[AXChu1a16cLsQO3hx_vs][javax.mail] JavaMail version 1.5.6
2020.03.03 13:50:21 INFO  ce[AXChu1a16cLsQO3hx_vs][javax.mail] successfully loaded resource: /META-INF/javamail.default.providers
2020.03.03 13:50:21 INFO  ce[AXChu1a16cLsQO3hx_vs][javax.mail] Tables of loaded providers
2020.03.03 13:50:21 INFO  ce[AXChu1a16cLsQO3hx_vs][javax.mail] Providers Listed By Class

Name:     {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle]}
2020.03.03 13:50:21 INFO  ce[AXChu1a16cLsQO3hx_vs][javax.mail] Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]}
2020.03.03 13:50:21 INFO  ce[AXChu1a16cLsQO3hx_vs][javax.mail] successfully loaded resource: /META-INF/javamail.default.address.map
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] MailcapCommandMap: load HOME
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] new MailcapFile: file /home/sonar/.mailcap
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] MailcapCommandMap: load SYS
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] new MailcapFile: file /usr/lib/jvm/java-11-openjdk-amd64/lib/mailcap
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] MailcapCommandMap: load JAR
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] MailcapCommandMap: getResources
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] MailcapCommandMap: URL jar:file:/opt/sonarqube-7.9.1/lib/common/javax.mail-1.5.6.jar!/META-INF/mailcap
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] new MailcapFile: InputStream
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] parse: text/plain;;                x-java-content-handler=com.sun.mail.handlers.text_plain
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   Type: text/plain
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     Command: content-handler, Class: com.sun.mail.handlers.text_plain
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] parse: text/html;;         x-java-content-handler=com.sun.mail.handlers.text_html
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   Type: text/html
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     Command: content-handler, Class: com.sun.mail.handlers.text_html
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] parse: text/xml;;          x-java-content-handler=com.sun.mail.handlers.text_xml
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   Type: text/xml
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     Command: content-handler, Class: com.sun.mail.handlers.text_xml
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] parse: multipart/*;;               x-java-content-handler=com.sun.mail.handlers.multipart_mixed; x-java-fallback-entry=true
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   Type: multipart/*
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     Command: content-handler, Class: com.sun.mail.handlers.multipart_mixed
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] parse: message/rfc822;;    x-java-content-handler=com.sun.mail.handlers.message_rfc822
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   Type: message/rfc822
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     Command: content-handler, Class: com.sun.mail.handlers.message_rfc822
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] MailcapCommandMap: successfully loaded mailcap file from URL: jar:file:/opt/sonarqube-7.9.1/lib/common/javax.mail-1.5.6.jar!/META-INF/mailcap
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] MailcapCommandMap: load DEF
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] new MailcapFile: InputStream
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] parse: image/gif;;         x-java-view=com.sun.activation.viewers.ImageViewer
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   Type: image/gif
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     Command: view, Class: com.sun.activation.viewers.ImageViewer
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] parse: image/jpeg;;                x-java-view=com.sun.activation.viewers.ImageViewer
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   Type: image/jpeg
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     Command: view, Class: com.sun.activation.viewers.ImageViewer
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] parse: text/*;;            x-java-view=com.sun.activation.viewers.TextViewer
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   Type: text/*
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     Command: view, Class: com.sun.activation.viewers.TextViewer
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] parse: text/*;;            x-java-edit=com.sun.activation.viewers.TextEditor
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   Type: text/*
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     Command: edit, Class: com.sun.activation.viewers.TextEditor
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] Merging commands for type text/*
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] MailcapCommandMap: successfully loaded mailcap file: /META-INF/mailcap.default
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] MailcapCommandMap: createDataContentHandler for text/html
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   search DB #1
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     got content-handler
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]       class com.sun.mail.handlers.text_html
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.mail] getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] useEhlo true, useAuth false
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] trying to connect to host "XXXXXXXX", port 25, isSSL false
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] connected to host "XXXXXXXXX", port: 25
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] Found extension "SIZE", arg "209715200"
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] Found extension "AUTH", arg "LOGIN CRAM-MD5"
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] Found extension "8BITMIME", arg ""
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] Found extension "OK", arg ""
2020.03.03 13:50:21 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] use8bit false
2020.03.03 13:50:22 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] Verified Addresses
2020.03.03 13:50:22 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp]   YYYYYYYYY
2020.03.03 13:50:22 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation] MailcapCommandMap: createDataContentHandler for multipart/mixed
2020.03.03 13:50:22 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   search DB #1
2020.03.03 13:50:22 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   search DB #2
2020.03.03 13:50:22 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]   search fallback DB #1
2020.03.03 13:50:22 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]     got content-handler
2020.03.03 13:50:22 DEBUG ce[AXChu1a16cLsQO3hx_vs][javax.activation]       class com.sun.mail.handlers.multipart_mixed
2020.03.03 13:50:22 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] message successfully delivered to mail server
2020.03.03 13:50:23 INFO  ce[AXChu1a16cLsQO3hx_vs][o.s.c.t.s.ComputationStepExecutor] Send issue notifications | newIssuesNotifs=0 | newIssuesDeliveries=0 | myNewIssuesNotifs=0 | myNewIssuesDeliveries=0 | changesNotifs=1 | changesDeliveries=1 | status=SUCCESS | time=2135ms

Here’s log output when I request test email via web interface:

2020.03.03 15:09:19 INFO  web[AXChl6elTb/qMOBtAAIb][javax.mail] JavaMail version 1.5.6
2020.03.03 15:09:19 INFO  web[AXChl6elTb/qMOBtAAIb][javax.mail] successfully loaded resource: /META-INF/javamail.default.providers
2020.03.03 15:09:19 INFO  web[AXChl6elTb/qMOBtAAIb][javax.mail] Tables of loaded providers
2020.03.03 15:09:19 INFO  web[AXChl6elTb/qMOBtAAIb][javax.mail] Providers Listed By Class 

Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle]}
2020.03.03 15:09:19 INFO  web[AXChl6elTb/qMOBtAAIb][javax.mail] Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]}
2020.03.03 15:09:19 INFO  web[AXChl6elTb/qMOBtAAIb][javax.mail] successfully loaded resource: /META-INF/javamail.default.address.map
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] MailcapCommandMap: load HOME
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] new MailcapFile: file /home/sonar/.mailcap
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] MailcapCommandMap: load SYS
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] new MailcapFile: file /usr/lib/jvm/java-11-openjdk-amd64/lib/mailcap
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] MailcapCommandMap: load JAR
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] MailcapCommandMap: getResources
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] MailcapCommandMap: URL jar:file:/opt/sonarqube-7.9.1/lib/common/javax.mail-1.5.6.jar!/META-INF/mailcap
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] new MailcapFile: InputStream
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] parse: text/plain;;               x-java-content-handler=com.sun.mail.handlers.text_plain
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]   Type: text/plain
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]     Command: content-handler, Class: com.sun.mail.handlers.text_plain
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] parse: text/html;;                x-java-content-handler=com.sun.mail.handlers.text_html
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]   Type: text/html
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]     Command: content-handler, Class: com.sun.mail.handlers.text_html
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] parse: text/xml;;         x-java-content-handler=com.sun.mail.handlers.text_xml
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]   Type: text/xml
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]     Command: content-handler, Class: com.sun.mail.handlers.text_xml
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] parse: multipart/*;;              x-java-content-handler=com.sun.mail.handlers.multipart_mixed; x-java-fallback-entry=true
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]   Type: multipart/*
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]     Command: content-handler, Class: com.sun.mail.handlers.multipart_mixed
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] parse: message/rfc822;;   x-java-content-handler=com.sun.mail.handlers.message_rfc822
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]   Type: message/rfc822
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]     Command: content-handler, Class: com.sun.mail.handlers.message_rfc822
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] MailcapCommandMap: successfully loaded mailcap file from URL: jar:file:/opt/sonarqube-7.9.1/lib/common/javax.mail-1.5.6.jar!/META-INF/mailcap
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] MailcapCommandMap: load DEF
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] new MailcapFile: InputStream
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] parse: image/gif;;                x-java-view=com.sun.activation.viewers.ImageViewer
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]   Type: image/gif
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]     Command: view, Class: com.sun.activation.viewers.ImageViewer
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] parse: image/jpeg;;               x-java-view=com.sun.activation.viewers.ImageViewer
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]   Type: image/jpeg
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]     Command: view, Class: com.sun.activation.viewers.ImageViewer
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] parse: text/*;;           x-java-view=com.sun.activation.viewers.TextViewer
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]   Type: text/*
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]     Command: view, Class: com.sun.activation.viewers.TextViewer
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] parse: text/*;;           x-java-edit=com.sun.activation.viewers.TextEditor
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]   Type: text/*
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]     Command: edit, Class: com.sun.activation.viewers.TextEditor
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] Merging commands for type text/*
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] MailcapCommandMap: successfully loaded mailcap file: /META-INF/mailcap.default
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation] MailcapCommandMap: createDataContentHandler for text/plain
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]   search DB #1
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]     got content-handler
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.activation]       class com.sun.mail.handlers.text_plain
2020.03.03 15:09:19 DEBUG web[AXChl6elTb/qMOBtAAIb][javax.mail] getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp] useEhlo true, useAuth false
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp] trying to connect to host "XXXXXXXXX", port 25, isSSL false
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp] connected to host "XXXXXXXXXX", port: 25
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp] Found extension "SIZE", arg "209715200"
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp] Found extension "AUTH", arg "LOGIN CRAM-MD5"
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp] Found extension "8BITMIME", arg ""
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp] Found extension "OK", arg ""
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp] use8bit false
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp] Verified Addresses
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp]   YYYYYYYYY
2020.03.03 15:09:20 DEBUG web[AXChl6elTb/qMOBtAAIb][com.sun.mail.smtp] message successfully delivered to mail server

I am out of ideas… What I am trying to achieve is when Sonar performs a scan and there’s an issue associated with my commit, I get a notification about the issue. Same for when an issue is resolved.

Hello @sergek,

As your notification tests says:

2020.03.03 13:50:22 DEBUG ce[AXChu1a16cLsQO3hx_vs][com.sun.mail.smtp] message successfully delivered to mail server

Are you sure that the problem is not elsewhere than sending the message? It also says that he sent the following notif:

Send issue notifications | newIssuesNotifs=0 | newIssuesDeliveries=0 | myNewIssuesNotifs=0 | myNewIssuesDeliveries=0 | changesNotifs=1 | changesDeliveries=1 | status=SUCCESS | time=2135ms

So not new ones, only changes. Are you assigned to these issues that had been changed? Maybe the email is treated as spam? Do you have access to logs of the SMTP server to see if they are well handled? Maybe you can try with mail trapper like https://mailtrap.io (a free plan is enough) so you avoid other services potential errors.

From what I can see, things are fine on SQ to send notification emails.

Antoine

I give up. At this point I am disabling SQ notification emails. Emails arrive randomly. Those that do arrive are often sent to people who weren’t responsible for the changes that cause the issues.
I will focus on using SQ Api and create a piece of groovy code to execute in my Jenkins pipeline to get the error info that I need to be sent as part of the fail build email