简体   繁体   English

Jenkins电子邮件配置 - 测试电子邮件配置成功但用户未收到电子邮件

[英]Jenkins email configuration - Test email configuration succeeds but email is not received by user

I am Using Jenkins v1.521 on Windows 2008 R2 server. 我在Windows 2008 R2服务器上使用Jenkins v1.521。 I need to enable email build notifications in the builds. 我需要在构建中启用电子邮件构建通知。 I have also installed email ext plugin. 我还安装了电子邮件ext插件。

I have configured the SMTP server details under Configure System in Jenkins. 我在Jenkins的Configure System下配置了SMTP server详细信息。 I tried sending the test email from Jenkins using "Test Configuration" option providing my email address and I get a message that says "Email successfully sent" but I don't seem to be receiving the email. 我尝试使用“测试配置”选项从Jenkins发送测试电子邮件,提供我的电子邮件地址,然后收到一条消息“我们已成功发送电子邮件”,但我似乎没有收到该电子邮件。

I also tried doing a telnet to the SMTP server directly on the server hosting Jenkins and sent an email manually and it worked. 我还尝试直接在托管Jenkins的服务器上对SMTP server进行telnet,并手动发送电子邮件并且它有效。 I received the email. 我收到了电子邮件。

I wonder why the mail sending part does not work via Jenkins? 我想知道为什么邮件发送部分不通过Jenkins工作?

Could any one please provide me suggestions to fix this issue? 有人可以提供解决这个问题的建议吗?

In order to get this to work, a valid email must be entered into the "System Admin e-mail address" field. 为了使其正常工作,必须在“系统管理员电子邮件地址”字段中输入有效的电子邮件。 That field is on the same page but is located in another section higher up. 该字段位于同一页面上,但位于更高的另一部分。 Without doing so, I too received a message that the email was successfully sent but I never received it. 没有这样做,我也收到一条消息,说电子邮件已成功发送,但我从未收到过。 Once I set it, the test emails started to be received properly. 一旦我设置它,测试电子邮件就开始被正确接收。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM