1 解决类似 office365 tls 安全
java -Djava.awt.headless=true -Dmail.smtp.starttls.enable=true -jar jenkins.war --httpPort=8888
2 解决如下报错设置admin email
Manage Jenkins -> Configure System -> Jenkins Location -> System Admin e-mail address
com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender