How can i send the mail through kie workbench using jbpm suite

281 views
Skip to first unread message

chauhan.s...@gmail.com

unread,
Jan 5, 2018, 2:20:53 AM1/5/18
to jBPM Development
Hi,All
I am using mail service task in kie workbench,i configure workitemhandler in developmentdescriptor, can you plz tell me what the reason behind this to not sending mail .



Caused by: java.lang.RuntimeException: Connection failure
at org.jbpm.process.workitem.email.SendHtml.sendHtml(SendHtml.java:81) [jbpm-workitems-6.5.0.Final-redhat-2.jar:6.5.0.Final-redhat-2]
... 107 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1960) [mail-1.4.5.redhat-2.jar:1.4.5.redhat-2]
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642) [mail-1.4.5.redhat-2.jar:1.4.5.redhat-2]
at javax.mail.Service.connect(Service.java:295) [mail-1.4.5.redhat-2.jar:1.4.5.redhat-2]
at org.jbpm.process.workitem.email.SendHtml.sendHtml(SendHtml.java:78) [jbpm-workitems-6.5.0.Final-redhat-2.jar:6.5.0.Final-redhat-2]
... 107 more


Thanks& Regards
Neetu

Maciej Swiderski

unread,
Jan 8, 2018, 2:43:36 AM1/8/18
to chauhan.s...@gmail.com, jBPM Development
take a look at this article to see how to use email work item in the process http://mswiderski.blogspot.com/2017/04/email-configuration-for-jbpm.html

Maciej

--
You received this message because you are subscribed to the Google Groups "jBPM Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-developme...@googlegroups.com.
To post to this group, send email to jbpm-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-development/a8ecffde-15ee-4eae-a14b-3399ebe9a517%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages