您在teamcity中在哪里设置电子邮件设置?

Geo*_*uer 16 teamcity

我对teamcity非常新,所以请耐心等待

我设置了一个电子邮件通知程序,以便在构建失败时通知我,但TeamCity报告了以下错误:

由于错误导致无法通过SMTP服务器邮件发送电子邮件通知:未知SMTP主机:邮件; 嵌套异常是:java.net.UnknownHostException:mail

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

Chr*_*nce 16

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.
Run Code Online (Sandbox Code Playgroud)

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

  • 我们通过使用作为Gmail/GoogleApps一部分提供的SMTP服务避免为TeamCity设置我们自己的电子邮件服务器.见http://www.activecollab.com/forums/topic/3552/ (2认同)

Sum*_*esh 10

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