繁体   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