简体   繁体   English

詹金斯:无法发送电子邮件

[英]Jenkins: Not able to send email

I am using Jenkins 2.89.3 and setup Jenkins Editable Email Notification with triggers as Always.我正在使用 Jenkins 2.89.3 并始终使用触发器设置 Jenkins 可编辑电子邮件通知。

Build run successfully but getting error in email sending.构建运行成功,但在发送电子邮件时出错。 Console output is as:控制台输出如下:

Email was triggered for: Always

Sending email for trigger: Always

Sending email to: himanshu.jn48@gmail.com

Connection error sending email, retrying once more in 10 seconds...

Connection error sending email, retrying once more in 10 seconds...

Failed after second try sending email

Finished: SUCCESS

I have received the email when I test the configuration by sending test e-mail.我在通过发送测试电子邮件测试配置时收到了电子邮件。

I am attaching screenshot of SMTP Configuration.我附上了 SMTP 配置的屏幕截图。 link for image图片链接

Based on your plugin setup, there may be more than one configuration for SMTP available in Jenkins.根据您的插件设置,Jenkins 中可能有不止一种可用的 SMTP 配置。 Make sure, they both have these email configuration properly set确保他们都正确设置了这些电子邮件配置

Manage Jenkins" -> "Configure System" -> "E-mail Notification
Manage Jenkins" -> "Configure System" -> "Extended E-mail Notification"

Based on the plugin you are using, make sure appropriate SMTP section is properly configured根据您使用的插件,确保正确配置了适当的 SMTP 部分

Was facing the same issue with Jenkins not able to send email to the recepients. Jenkins 面临同样的问题,无法向收件人发送电子邮件。 Tired the above solution...It works, Thanks for the solution.厌倦了上述解决方案......它有效,感谢您的解决方案。 Basically, we have to configure email settings under both the sections Manage Jenkins" -> "Configure System" -> "E-mail Notification Manage Jenkins" -> "Configure System" -> "Extended E-mail Notification"基本上,我们必须在 Manage Jenkins" -> "Configure System" -> "E-mail Notification Manage Jenkins" -> "Configure System" -> "Extended E-mail Notification" 下配置电子邮件设置

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

相关问题 我如何在詹金斯电子邮件附件中发送故障测试用例的快照 - how i can send the snapshots of failure testcases in the jenkins email attachment 如何在Jenkins中向开发人员发送电子邮件通知以进行构建失败 - how to send email notification to developer for build failure in Jenkins Jenkins_Selenium-有人可以解释一下如何在jenkins中生成报告并将其作为附件发送到电子邮件中 - Jenkins_Selenium- Can someone please explain how to generate reports in jenkins and send it as attachement in email 需要将 TestNG SuiteName 传递给 Jenkins 参数,以便我可以在构建后操作中使用它来发送 html 报告为 Z0C839F57C3736EFC7B - Need to pass TestNG SuiteName to Jenkins Parameter, so that i can use it in post build actions to send html report as email 詹金斯在电子邮件中附加本地图像 - Jenkins attaching local image in email 能够清除文本框但无法发送新文本 - Able to clear the textbox but not able to send new text Jenkins无法打开Firefox窗口硒(python) - Jenkins not able to open a firefox window selenium (python ) Selenium无法从Jenkins运行Firefox浏览器 - Selenium Not able to run Firefox browser from Jenkins 詹金斯无法单击python硒脚本的按钮 - Jenkins not able to click button for python selenium script 通过电子邮件在Jenkins中发布HTML测试报告? - Publish HTML Test Report through email in Jenkins?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM