0
我試圖使用擴展Jenkins電子郵件插件從Jenkins發送電子郵件。 這裏是作業的輸出:Jenkins未能發送電子郵件
Performing post-build step
Checking if email needs to be generated
Email was triggered for: Always
Email was triggered for: Always
Sending email for trigger: Always
messageContentType = text/plain; charset=UTF-8
Adding recipients from project recipient list
Adding recipients from trigger recipient list
Setting In-Reply-To since last build was not successful
Successfully created MimeMessage
Sending email to: [email protected]
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "webmail-apac.nsn-intra.net", port 465, isSSL false
MessagingException message: Could not connect to SMTP host: webmail-apac.nsn-intra.net, port: 465
Sending email for trigger: Always
messageContentType = text/plain; charset=UTF-8
Adding recipients from project recipient list
Adding recipients from trigger recipient list
Setting In-Reply-To since last build was not successful
沒有,這樣的問題:我怎麼能檢查西隧是什麼問題? 我只看到: MessagingException消息:
"Could not connect to SMTP host: webmail-apac.nsn-intra.net, port: 465"
我如何調查的原因是什麼?
telnet:連接到地址X.X.X.X:連接超時 –
到端口25:連接被拒絕。所以這是防火牆問題? –
是的我想,你的jenkins服務器在Linux或Windows上運行? –