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