Sonarqube 4.3电子邮件通知无效

时间:2014-08-08 15:14:27

标签: sonarqube

我正在尝试将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

1 个答案:

答案 0 :(得分:0)

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