Hi,

I don't seem to be able to get the Email Tool plugin working.

The system sends out User notification (thus smtp is correct and working) in each of the process but the email tool is not working as it does not email to the performer/requestor when the status is set to reject.

Any help is appreciated.

Thanks.

-Jo

  • No labels

4 Comments

  1. I'm having the same problem like this too...

    seems like v3, right now i'm using v3 to configure my email and i cant send any. I cant figure what is the problem, is it my  either smtp? or the joget configuration?...

    btw i'm using linux ubuntu so i have install postfix thought it might help, but still nothing...

    Hope someone could give a solution for this.

    Regards,

    N.aimi F 

    1. Hi there,

      What error that your Joget server is throwing out? You can check it out in your server log.

      Cheers

  2. INFO  26 Jul 2012 10:23:22 org.joget.apps.workflow.security.WorkflowHttpAuthProcessingFilter  - Authentication for user justin: true
    INFO  26 Jul 2012 10:23:24 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:23:24 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_request_form hibernate template created
    INFO  26 Jul 2012 10:23:25 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:23:25 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_Hra_approval_form hibernate template created
    INFO  26 Jul 2012 10:23:25 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:23:25 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form app_fd_eStationary_history hibernate template created
    INFO  26 Jul 2012 10:23:26 org.displaytag.export.ExportViewFactory  - Initializing ExportViewFactory with type=

    Unknown macro: {csv,excel,xml,pdf}

    INFO  26 Jul 2012 10:23:26 org.displaytag.properties.TableProperties  - No LocaleResolver configured.
    INFO  26 Jul 2012 10:23:59 org.joget.workflow.shark.WorkflowAssignmentManager  - [processId=47_eStationary_process1, processDefId=eStationary#3#process1, participantId=applicant, next user=[justin]]
    INFO  26 Jul 2012 10:24:04 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:24:04 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_items_form hibernate template created
    INFO  26 Jul 2012 10:24:04 org.joget.apps.app.lib.UserNotificationAuditTrail$1  - Users to notify: [justin]
    INFO  26 Jul 2012 10:24:06 org.joget.apps.app.lib.UserNotificationAuditTrail$1  - Sending email from="aimi@macy.my" <aimi@macy.my> to=n.aim3@ymail.com, subject=Workflow - Pending Task Notification
    ERROR 26 Jul 2012 10:24:10 org.joget.apps.app.lib.UserNotificationAuditTrail$1  - Error sending email
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : aimi@macy.my:995 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1138) at org.apache.commons.mail.Email.send(Email.java:1163) at org.joget.apps.app.lib.UserNotificationAuditTrail$1.run(UserNotificationAuditTrail.java:132) at java.lang.Thread.run(Thread.java:722)
    Caused by: javax.mail.MessagingException: Unknown SMTP host: aimi@macy.my;
      nested exception is: java.net.UnknownHostException: aimi@macy.my at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280) 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 org.apache.commons.mail.Email.sendMimeMessage(Email.java:1128) ... 3 more
    Caused by: java.net.UnknownHostException: aimi@macy.my at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) 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) ... 10 more
    Jul 26, 2012 10:24:59 AM org.joget.apps.workflow.lib.AssignmentCompleteButton actionPerformed
    INFO:  -- AssignmentCompleteButton actionPerformed assignmentComplete
    INFO  26 Jul 2012 10:25:01 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:25:02 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_items_form hibernate template created
    INFO  26 Jul 2012 10:25:02 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:25:02 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_items_form hibernate template created
    INFO  26 Jul 2012 10:25:02 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:25:02 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_request_form hibernate template created
    INFO  26 Jul 2012 10:25:02 org.joget.workflow.shark.WorkflowAssignmentManager  - [processId=47_eStationary_process1, processDefId=eStationary#3#process1, participantId=approver, next user=[pauline, Weiyen, sharon]]
    INFO  26 Jul 2012 10:25:07 org.joget.apps.app.lib.UserNotificationAuditTrail$1  - Users to notify: [pauline, Weiyen, sharon]
    INFO  26 Jul 2012 10:25:08 org.joget.apps.app.lib.UserNotificationAuditTrail$1  - Sending email from="aimi@macy.my" <aimi@macy.my> to=sharon-seah@hotmail.com, subject=Workflow - Pending Task Notification
    ERROR 26 Jul 2012 10:25:09 org.joget.apps.app.lib.UserNotificationAuditTrail$1  - Error sending email
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : aimi@macy.my:995 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1138) at org.apache.commons.mail.Email.send(Email.java:1163) at org.joget.apps.app.lib.UserNotificationAuditTrail$1.run(UserNotificationAuditTrail.java:132) at java.lang.Thread.run(Thread.java:722)
    Caused by: javax.mail.MessagingException: Unknown SMTP host: aimi@macy.my;
      nested exception is: java.net.UnknownHostException: aimi@macy.my at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280) 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 org.apache.commons.mail.Email.sendMimeMessage(Email.java:1128) ... 3 more
    Caused by: java.net.UnknownHostException: aimi@macy.my at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) 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) ... 10 more
    INFO  26 Jul 2012 10:25:23 org.joget.apps.workflow.security.WorkflowHttpAuthProcessingFilter  - Authentication for user pauline: true
    INFO  26 Jul 2012 10:25:33 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:25:33 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_approval_form hibernate template created

    Jul 26, 2012 10:37:39 AM org.joget.apps.workflow.lib.AssignmentCompleteButton actionPerformed
    INFO:  -- AssignmentCompleteButton actionPerformed assignmentComplete
    INFO  26 Jul 2012 10:37:42 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:37:42 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_items_form hibernate template created
    INFO  26 Jul 2012 10:37:42 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:37:42 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_items_form hibernate template created
    INFO  26 Jul 2012 10:37:43 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:37:43 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_request_form hibernate template created
    INFO  26 Jul 2012 10:37:43 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:37:43 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_request_form hibernate template created
    INFO  26 Jul 2012 10:37:43 org.joget.apps.form.dao.FormDataLocalSessionFactoryBean  - Building new Hibernate SessionFactory
    Jul 26, 2012 10:37:43 AM org.joget.apps.form.dao.FormDataDaoImpl getHibernateTemplate
    INFO:   --- Form FormRow_eStationary_approval_form hibernate template created
    INFO  26 Jul 2012 10:37:45 org.joget.apps.app.lib.EmailTool$1  - EmailTool: Sending email from=aimi@macy.my, to=n.aim3@ymail.com, cc=aimi@macy.my, subject=eStationary : Email notification
    INFO  26 Jul 2012 10:38:16 org.joget.apps.workflow.security.WorkflowHttpAuthProcessingFilter  - Authentication for user admin: true
    ERROR 26 Jul 2012 10:38:50 org.joget.apps.app.lib.EmailTool$1  - org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:25
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:25 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1138) at org.apache.commons.mail.Email.send(Email.java:1163) at org.joget.apps.app.lib.EmailTool$1.run(EmailTool.java:132) at java.lang.Thread.run(Thread.java:722)
    Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 25;
      nested exception is: java.net.ConnectException: Connection timed out 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 org.apache.commons.mail.Email.sendMimeMessage(Email.java:1128) ... 3 more
    Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) 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) ... 10 more

    1. Hi hugo,

      I've paste the log's. Hope u could help me. Thank you so much...

      Regards,

      N.aimi F