Sonarqube 4.3电子邮件通知不起作用

Sonarqube 4.3电子邮件通知不起作用,sonarqube,Sonarqube,我正在尝试配置Sonarqube,以便在其帐户分配了新问题时,通过电子邮件自动通知开发人员。 在设置页面上,我成功地发送了一封测试电子邮件,并在收件箱中收到了gmail。 但在声纳程序内部,通知失败! 有人有这方面的经验吗 只需重新启动服务器。。。这不是文档的一部分 org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465 at

我正在尝试配置Sonarqube,以便在其帐户分配了新问题时,通过电子邮件自动通知开发人员。 在设置页面上,我成功地发送了一封测试电子邮件,并在收件箱中收到了gmail。 但在声纳程序内部,通知失败! 有人有这方面的经验吗


只需重新启动服务器。。。这不是文档的一部分

org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1410) ~[commons-email-1.3.2.jar:1.3.2] at org.apache.commons.mail.Email.send(Email.java:1437) ~[commons-email-1.3.2.jar:1.3.2] at org.sonar.plugins.emailnotifications.EmailNotificationChannel.send(EmailNotificationChannel.java:182) [sonar-email-notifications-plugin-4.3.2.jar:na] at org.sonar.plugins.emailnotifications.EmailNotificationChannel.deliver(EmailNotificationChannel.java:130) [sonar-email-notifications-plugin-4.3.2.jar:na] at org.sonar.plugins.emailnotifications.EmailNotificationChannel.deliver(EmailNotificationChannel.java:106) [sonar-email-notifications-plugin-4.3.2.jar:na] at org.sonar.server.notifications.NotificationService.dispatch(NotificationService.java:197) [NotificationService.class:na] Caused by: javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1970) ~[mail-1.4.5.jar:1.4.5] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642) ~[mail-1.4.5.jar:1.4.5] Caused by: java.net.UnknownHostException: smtp.gmail.com