发送到以下有效地址Jenkins时出错 [英] Error sending to the following VALID addresses Jenkins
问题描述
当我立即手动触发使用build时,我将收到电子邮件,但是当我尝试以批处理模式使用它时,我没有收到电子邮件.以下是在批处理模式下触发时获得的日志.
I will receive emails when I trigger using build now manually, but I don't receive emails when I tried to using it in batch mode. Below is the log I obtain when triggered in batch mode.
已针对以下条件触发电子邮件:始终 发送触发器电子邮件:始终 发送电子邮件至:abc@example.com 发送到以下有效地址时出错:abc@example.com
Email was triggered for: Always Sending email for trigger: Always Sending email to: abc@example.com Error sending to the following VALID addresses: abc@example.com
注意:发送电子邮件时没有附加构建日志.
Note: There are no build logs attached while sending email.
推荐答案
您应该在电子邮件通知"和扩展电子邮件通知"部分中设置"SMTP服务器"和身份验证". 单击高级"按钮以查看使用SMTP身份验证"部分.
You should set SMTP Server and Authentication in both E-mail Notification and Extended E-mail Notification sections. Click Advanced button to see this Use SMTP Authentication section.
这篇关于发送到以下有效地址Jenkins时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!