1 Reply Latest reply on Jan 27, 2015 2:07 PM by Tiburce KOUMOLOU

    JBpm 6 mail task

    Matteo Maguolo Newbie


      I am tryng to send a mail from jbpm 6, using the web interface, so the Email Task.


      I added to CustomWorkItemHandler.conf ( /src/main/resources/META-INF folder)


        "Email" : new org.jbpm.process.workitem.email.EmailWorkItemHandler("smtp.gmail.com","465","matteomaguolo@gmail.com","xxxxxx")


      but I had this error: Could not connect to SMTP host, Caused by: java.net.ConnectException: Connection timed out: connect


      Then I tried to change port, 587, with TLS

        "Email" : new org.jbpm.process.workitem.email.EmailWorkItemHandler("smtp.gmail.com","587","matteomaguolo@gmail.com","xxxxxxx")


      but I had error Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. l4sm86690147een.13 - gsmtp



      Can anyone help me please?