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插件里的高級配置才能發下來郵件