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

    JBpm 6 mail task

    agam

      Hello,

      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?

       

      Matteo

        • 1. Re: JBpm 6 mail task
          olaotan

          `Hi Matteo !

          Did you solve the problem? I'm trying to do the same. Can you please give me some feedback about how you solved it?