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

发布于 2024-07-18 03:33:40 字数 311 浏览 3 评论 0原文

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

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

无法通过以下方式发送电子邮件通知 SMTP 服务器邮件,由于错误: 未知 SMTP 主机:邮件; 嵌套的 例外是: java.net.UnknownHostException:邮件

对于我的一生,我找不到在哪里配置邮件服务器设置。 我什至不希望它使用 SMTP 服务器,但我在任何地方都没有看到任何选项。

I am VERY new with teamcity so please bear with me

I set up an email notifier to let me know when a build has failed, but TeamCity is reporting the following error:

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

For the life of me, I cannot find where to configure the mail server settings. I don't even want it to use an SMTP server, but I don't see any options for this anywhere.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

檐上三寸雪 2024-07-25 03:33:40
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

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.

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

凉月流沐 2024-07-25 03:33:40

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

You can configure your email settings under Administration - Server Configuration - Email Notifier..

游魂 2024-07-25 03:33:40

Sumeru 的回答(https://stackoverflow.com/a/825701/86627)描述了您需要设置的邮件帐户为了让 TeamCity 能够发送电子邮件通知。 实际的通知是按每个用户发送的。 每个用户都可以定义他们希望接收的通知。 在 teamCity Professional 7x 中,您可以在以下位置执行此操作:
用户名/我的设置和 工具/监视的构建和通知/电子邮件通知程序

Sumeru's answer (https://stackoverflow.com/a/825701/86627) describes the mail account you need to set in order for TeamCity to be able to send email notifications. The actual notifications are sent on a per-user base. Each user can define the notificatinos they wish to receive. In teamCity Professional 7x You can do this under:
Username/My Settings & tools/Watched Builds and Notifications/Email Notifier

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文