[JIRA] [email-ext-plugin] (JENKINS-29920) E-mail Notification Settings: Could not connect to SMTP host
Title: Message Title JDA JDA created an issue Jenkins / JENKINS-29920 E-mail Notification Settings: Could not connect to SMTP host Issue Type: Bug Assignee: Alex Earl Components: email-ext-plugin Created: 12/Aug/15 8:09 PM Environment: Jenkins Version: 1.547 Email Extension Plugin Version: 2.39.2 Jenkins Mailer Plugin Version: 1.11 Priority: Major Reporter: JDA JDA I am unable to connect to a SMTP host using the E-mail Notification abilities in Jenkins. I believe I have everything set up correctly. This is my configuration: SMTP Server: smtp.gmail.com Default user e-mail suffix: @gmail.com Use SMTP Authentication: checked User Name: myusern...@gmail.com Password: myGmailPassword Use SSL: checked SMTP Port: 465 Reply-To Address: nore...@gmail.com Charset: UTF-8 This is the error I am running into: {{Failed to send out e-mail javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465; nested exception is: java.net.ConnectException: Connection timed out: connect at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)
[JIRA] [email-ext-plugin] (JENKINS-29920) E-mail Notification Settings: Could not connect to SMTP host
Title: Message Title JDA JDA updated an issue Jenkins / JENKINS-29920 E-mail Notification Settings: Could not connect to SMTP host Change By: JDA JDA IamunabletoconnecttoaSMTPhostusingtheE-mailNotificationabilitiesinJenkins.IbelieveIhaveeverythingsetupcorrectly.Thisismyconfiguration:SMTPServer:smtp.gmail.comDefaultusere-mailsuffix:@gmail.comUseSMTPAuthentication:checkedUserName:myusern...@gmail.comPassword:myGmailPasswordUseSSL:checkedSMTPPort:465Reply-ToAddress:nore...@gmail.comCharset:UTF-8ThisistheerrorIamrunninginto: {{ Failedtosendoute-mailjavax.mail.MessagingException:CouldnotconnecttoSMTPhost:smtp.gmail.com,port:465;nestedexceptionis: java.net.ConnectException:Connectiontimedout:connect atcom.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934) atcom.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638) atjavax.mail.Service.connect(Service.java:317) atjavax.mail.Service.connect(Service.java:176) atjavax.mail.Service.connect(Service.java:125) atjavax.mail.Transport.send0(Transport.java:194) atjavax.mail.Transport.send(Transport.java:124) athudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:522) atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource) atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource) atjava.lang.reflect.Method.invoke(UnknownSource) atorg.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) atorg.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) atorg.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) atorg.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) atorg.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) atorg.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) atorg.kohsuke.stapler.Stapler.invoke(Stapler.java:858) atorg.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) atorg.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) atorg.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) atorg.kohsuke.stapler.Stapler.invoke(Stapler.java:858) atorg.kohsuke.stapler.Stapler.invoke(Stapler.java:631) atorg.kohsuke.stapler.Stapler.service(Stapler.java:225) atjavax.servlet.http.HttpServlet.service(HttpServlet.java:848) atorg.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) athudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) athudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) athudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) athudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) athudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) athudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) atorg.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)