I have configured Jenkins mails using office365 and also have added 
following params (i have win 8.1 , 64 bit machine and mapped myip localhost 
in host file)

 <arguments>-Xrs -Xmx256m -Dmail.smtp.starttls.enable=true 
-Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar 
"%BASE%\jenkins.war" --httpPort=8080</arguments>

But still it fails with following Errors. Can anybody help ?

1. 

javax.mail.MessagingException: Could not connect to SMTP host: 
smtp.office365.com, port: 587;
  nested exception is:
        javax.net.ssl.SSLException: Unrecognized SSL message, plaintext 
connection?


OR




javax.mail.MessagingException: Could not connect to SMTP host: 
smtp.office365.com, port: 467;
  nested exception is:
        java.net.ConnectException: Connection timed out: connect


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/26340d2d-d33c-4470-9bc1-4db0b6e6290a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to