简体   繁体   中英

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.

Here is the Image of setting I used

Note: I run Jenkins Using Command java -jar jenkins.war

Here is the Error i get Error I get

Error with TLS setting

Activate TLS as it is described on the microsoft website .

SMTP server name smtp.office365.com

SMTP port 587

SMTP encryption method STARTTLS

To activate STARTTLS start jenkins like this:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM