I tried 465 with ssl disabled then enabled. In both situations I still get 
the same error:

javax.mail.MessagingException: Could not connect to SMTP host: 
smtp.live.com, port: 465;
  nested exception is:
java.net.SocketTimeoutException: connect timed out
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)
at javax.mail.Service.connect(Service.java:317)
at javax.mail.Service.connect(Service.java:176)
at javax.mail.Service.connect(Service.java:125)
at javax.mail.Transport.send0(Transport.java:194)
at javax.mail.Transport.send(Transport.java:124)

On Thursday, July 2, 2015 at 4:32:36 PM UTC+3, Richard Mortimer wrote:
>
> Try using port 465 instead of 587 in the SMTP Port field. That's the 
> usual direct SSL port for SMTP. 
>
> Regards 
>
> Richard 
>
> On 02/07/2015 13:34, [email protected] <javascript:> wrote: 
> > Hey! 
> > 
> > You are right. But whch one is the correct port, how do I choose? 
> > 
> > Thanks, 
> > Ozcan 
> > 
> > On Thursday, July 2, 2015 at 3:31:13 PM UTC+3, Maximilian Hill wrote: 
> > 
> >     Hi 
> > 
> >     Take a look at line 3 of the error message. Possibly that the 
> >     choosen port is not the port for ssl connections. 
> > 
> >     Regards 
> >     Max 
> > 
> >     Am 02.07.2015 14:15 schrieb <[email protected] <javascript:>>: 
> > 
> >         I don't know what am I doing wrong, I'm searching the net for 
> >         hours. Anyways, here is my e-mail setup for Jenkins. I'm not 
> >         able to send any mails. When I click "Test Configuration", I get 
> >         the following error. 
> > 
> >         I changed the STMP Port to 25 and still get the same error. 
> > 
> >         <
> https://lh3.googleusercontent.com/-AnDvujXZAOo/VZUrLl5UUCI/AAAAAAAAAek/sxUAo6Or6T8/s1600/uPldQ.png>
>  
>
> > 
> >         And btw I typed |telnet smtp.live.com <http://smtp.live.com> 
> >         587| to my console ant the output was: 
> > 
> >         |Trying 65.55.163.152... Connected to smtp.glbdns2.microsoft.com 
> >         <http://smtp.glbdns2.microsoft.com>. Escape character is '^]'. 
> >         220 BLU437-SMTP76.smtp.hotmail.com 
> >         <http://BLU437-SMTP76.smtp.hotmail.com> Microsoft ESMTP MAIL 
> >         Service, Version: 8.0.9200.16384 ready at Thu, 2 Jul 2015 
> >         04:31:09 -0700 Connection closed by foreign host. | 
> > 
> >         | 
> > 
> >         What am I missing? What is the correct configuration? Thanks in 
> >         advance! 
> > 
> >         | 
> > 
> >         -- 
> >         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 [email protected] 
> >         <javascript:>. 
> >         To view this discussion on the web visit 
> >         
> https://groups.google.com/d/msgid/jenkinsci-users/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%40googlegroups.com
>  
> >         <
> https://groups.google.com/d/msgid/jenkinsci-users/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%40googlegroups.com?utm_medium=email&utm_source=footer>.
>  
>
> >         For more options, visit https://groups.google.com/d/optout 
> >         <https://groups.google.com/d/optout>. 
> > 
> > -- 
> > 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 [email protected] <javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/jenkinsci-users/148f3bcf-1cd8-46a4-8555-5ef24b6673c2%40googlegroups.com
>  
> > <
> https://groups.google.com/d/msgid/jenkinsci-users/148f3bcf-1cd8-46a4-8555-5ef24b6673c2%40googlegroups.com?utm_medium=email&utm_source=footer>.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/94d70b72-3333-4e59-b007-c04e32da590f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to