2009-04-14 26 views
16

我与TeamCity的非常新,所以请多多包涵你在哪里设置teamcity的电子邮件设置?

我设置了电子邮件通知,让我知道什么时候构建失败,但TeamCity的是报告以下错误:

Failed to send email notification via SMTP server mail, due to error: Unknown SMTP host: mail; nested exception is: java.net.UnknownHostException: mail

对于我的生活,我无法找到配置邮件服务器设置的位置。我甚至不希望它使用SMTP服务器,但我没有看到任何地方的任何选项。

回答

15
Option     Description 
------     ---------- 
SMTP host    Specify the SMTP host name. 
SMTP port    Specify the SMTP port number. 
Send messages from  Specify the email address, from which notification messages will be sent to the user. 
SMTP login    Specify the SMTP login name, if any. 
SMTP password   Specify the SMTP password. 
Use TLS (SSL)   Select this option to secure your SMTP connection with TLS. 
         (This feature is only available in TeamCity 3.1+) 
Test connection  Click this button to establish a connection with the specified SMTP host. 
Save     Click this button to save changes and close the page. 

来源:http://www.jetbrains.net/confluence/display/TCD3/Email+and+Jabber+Notifier+Settings

+0

aha!我可以让它不使用电子邮件服务器吗? – 2009-04-14 19:34:22

+0

如果您希望它在构建失败时通过电子邮件发送给您,则可能没有任何好方法来解决构建问题。 – 2009-04-14 19:36:15

+0

男人,这是一个很大的努力,基本上是一台服务器在我自己的机器上运行,并为我自己的利益。 – 2009-04-14 19:43:34

10

可以配置在管理电子邮件设置 - 服务器配置 - 电子邮件通知..

3

须弥山的回答(https://stackoverflow.com/a/825701/86627)描述了为了你需要设置邮件帐户TeamCity能够发送电子邮件通知。实际的通知是以每个用户为基础发送的。每个用户可以定义他们希望收到的通知。在teamCity专业7x您可以这样做: 用户名/我的设置&工具/监视版本和通知/电子邮件通知器