1
0
-1

Hi there.

I'm having some troubles with the email tool. I've configured as indicated in this community tutorial and sometimes work OK (mails are sent without any trouble) but others (in exactly same conditions) does not work at all. I've checked in the monitor-Running processes and the tool was properly executed (status: closed.completed) but without receiving the mail.

I'm using Outlook 2010. 

Please help to confirm whether I'm missing something.

 

Kind Regards

Matias

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi,

      According to the server logs, there's a connection timeout error when connecting to the SMTP server i.e.

      org.apache.commons.mail.EmailException: Sending the email to the following server failed : ****.*******.***.**:25
      
              at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1421)
      
              at org.apache.commons.mail.Email.send(Email.java:1448)
      
              at org.joget.apps.app.lib.EmailTool$1.run(EmailTool.java:209)
      
              at java.lang.Thread.run(Thread.java:745)
      
      Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: ****.*******.***.**, 25; timeout 60000;
      
        nested exception is:
      
              java.net.SocketTimeoutException: connect timed out
      
              at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2053)
      
              at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:697)
      
              at javax.mail.Service.connect(Service.java:386)

      So you might want to check the SMTP server or network to ensure that the connectivity to the server is OK.

      Thanks.

       

        CommentAdd your comment...