簡體   English   中英

無法從 outlook 在 jenkins 中發送 email 通知

[英]Not able to send email notification in jenkins from outlook

I want to Send email in Jenkins from outlook and I have given all the setting to jenkins like smtp of outlook, smtp port number etc but still i can't send email but with gmail account I'm able to send email from jenkins.

這是我使用的設置圖像

注意:我使用命令 java -jar jenkins.war 運行 Jenkins

這是我得到的錯誤 我得到的錯誤

TLS 設置錯誤

按照Microsoft 網站上的說明激活 TLS。

SMTP 服務器名稱 smtp.office365.com

SMTP端口587

SMTP 加密方式 STARTTLS

要激活 STARTTLS,請像這樣啟動 jenkins:

java -Dmail.smtp.starttls.enable=true -jar jenkins.war

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM