[英]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. 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.
Here is the Image of setting I used这是我使用的设置图像
Note: I run Jenkins Using Command java -jar jenkins.war注意:我使用命令 java -jar jenkins.war 运行 Jenkins
Here is the Error i get Error I get这是我得到的错误 我得到的错误
Activate TLS as it is described on the microsoft website .按照Microsoft 网站上的说明激活 TLS。
SMTP server name smtp.office365.com
SMTP 服务器名称 smtp.office365.com
SMTP port 587
SMTP端口587
SMTP encryption method STARTTLS
SMTP 加密方式 STARTTLS
To activate STARTTLS start jenkins like this:要激活 STARTTLS,请像这样启动 jenkins:
java -Dmail.smtp.starttls.enable=true -jar jenkins.war
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.