Connection timed out: connect @ Email tokens template v2.0

1
Hello, We are trying to implement the email tokens template module in our model. We have succeed to install it and we have set al the parameters. The front-end tells us the email has been sent but the error logging tells us that the IVK_CreateAndSendEmail failed to send an email because an error occurred in the SendEmail java action. We tried 2 different smtp servers (gmail.com, one.com), tried a lot of ports and we don't know why it is not working.. The only thing we do know is that there is no connection with the SMTP server. I hope someone could help us to get to the right direction to get this module work. Tnx in advance! Kind regards, Tim Error: Error sending email at kP.a(SourceFile:144) Caused by: null at java.security.AccessController.doPrivileged(Native Method) at kP.a(SourceFile:132) at com.mendix.modules.email.EmailModule.mail(SourceFile:121) at emailtemplate.actions.SendEmail.executeAction(SendEmail.java:110) at emailtemplate.actions.SendEmail.executeAction(SendEmail.java:23) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hj.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:212) at ln.a(SourceFile:70) at mz.a(SourceFile:73) at my.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hj.b(SourceFile:156) at com.mendix.core.Core.executeSync(SourceFile:189) at lo.a(SourceFile:71) at mz.a(SourceFile:73) at my.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hj.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:212) at gc.execute(SourceFile:184) at iH.a(SourceFile:311) at iH.a(SourceFile:240) at iH.processRequest(SourceFile:179) at iK.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:856) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:43) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662) Caused by: Could not connect to SMTP host: send.one.com, port: 2525 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) at javax.mail.Service.connect(Service.java:297) at javax.mail.Service.connect(Service.java:156) at javax.mail.Service.connect(Service.java:105) at javax.mail.Transport.send0(Transport.java:168) at javax.mail.Transport.send(Transport.java:98) at kP$1.run(SourceFile:137) at java.security.AccessController.doPrivileged(Native Method) at kP.a(SourceFile:132) at com.mendix.modules.email.EmailModule.mail(SourceFile:121) at emailtemplate.actions.SendEmail.executeAction(SendEmail.java:110) at emailtemplate.actions.SendEmail.executeAction(SendEmail.java:23) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hj.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:212) at ln.a(SourceFile:70) at mz.a(SourceFile:73) at my.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hj.b(SourceFile:156) at com.mendix.core.Core.executeSync(SourceFile:189) at lo.a(SourceFile:71) at mz.a(SourceFile:73) at my.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hj.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:212) at gc.execute(SourceFile:184) at iH.a(SourceFile:311) at iH.a(SourceFile:240) at iH.processRequest(SourceFile:179) at iK.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:856) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:43) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662) Caused by: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) at javax.mail.Service.connect(Service.java:297) at javax.mail.Service.connect(Service.java:156) at javax.mail.Service.connect(Service.java:105) at javax.mail.Transport.send0(Transport.java:168) at javax.mail.Transport.send(Transport.java:98) at kP$1.run(SourceFile:137) at java.security.AccessController.doPrivileged(Native Method) at kP.a(SourceFile:132) at com.mendix.modules.email.EmailModule.mail(SourceFile:121) at emailtemplate.actions.SendEmail.executeAction(SendEmail.java:110) at emailtemplate.actions.SendEmail.executeAction(SendEmail.java:23) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hj.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:212) at ln.a(SourceFile:70) at mz.a(SourceFile:73) at my.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hj.b(SourceFile:156) at com.mendix.core.Core.executeSync(SourceFile:189) at lo.a(SourceFile:71) at mz.a(SourceFile:73) at my.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hj.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:212) at gc.execute(SourceFile:184) at iH.a(SourceFile:311) at iH.a(SourceFile:240) at iH.processRequest(SourceFile:179) at iK.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:856) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:43) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662)
asked
1 answers
1

See this post

answered