javax.mail.MessagingException: 501 5.5.4 Invalid domain name

I am using SonarQube LTS version 7.9.1 and tried to configure email notification. But getting below error my domain is valid as it is working fine with other servers also I am able to send mails using telnet. Please help me on this.

Caused by: javax.mail.MessagingException: 501 5.5.4 Invalid domain name
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:2233)
at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:1617)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:718)
at javax.mail.Service.connect(Service.java:388)
at javax.mail.Service.connect(Service.java:246)
at javax.mail.Service.connect(Service.java:195)
at javax.mail.Transport.send0(Transport.java:254)
at javax.mail.Transport.send(Transport.java:124)
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1459)
… 48 common frames omitted

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.1 → 8.9.10 → 9.9

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes for 7.9 to 8.9, as well as the LTS to LTS release upgrade notes for 8.9 to 9.9 helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

Hi Colin,

Thanks for the response, the issue has been resolved. I am also in process to upgrade the SonarQube server.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.