jenkins发送邮箱配置,出现Error sending to the following VALID addresses,解决方案

Jenkins发送邮箱配置,需要的插件:Extended E-mail Notification,邮件通知

1、Manage Jenkins -> Configure System

 2、下图是“邮件通知”的高级配置,开始只配置了这里,没有配置Extended E-mail Notification里高级配置,导致构建成功后报:Error sending to the following VALID addresses,第三步是解决这个问题

3、由于发送邮件用的插件是:Extended E-mail Notification,所以一定要配置在这里配置SMTP的端口号,及发件人账号和客户端授权密码

 Extended E-mail Notification-高级配置

4、去工程里配置邮件内容

因为我在工程里用的是Editable Email Notifaction,所以在系统配置里一定要用Extended E-mail Notification插件里的高级配置才能发下来邮件

原文地址:https://www.cnblogs.com/cainiaotest/p/11805968.html