Andy McC [
https://community.jboss.org/people/andymcc] created the discussion
"Trying to configure the Email service task in jBPM 5.4"
To view the discussion, visit:
https://community.jboss.org/message/806520#806520
--------------------------------------------------------------
I'm trying to use the built-in Email service task and have been referring to
https://community.jboss.org/message/793190#793190 for guidance.
However, probably because I'm a newbie, I'm having trouble getting it working and
wondered if anyone could help me answer the following:
1. The above link provides an example of how to write a test case* Can anyone confirm that
the code snippet available at the link should actually work? (I can't get it to work
and have attached my bpmn and test code, although they are essentially the same as the
link)
* If I wasn't defining a test case, how should I invoke the setConnection method?
* Do I add code to the "On Entry Action" of my Email activity, i.e. embed the
setConnection call into the BPMN definition somehow?
* If so, can anyone offer some example code?
2. Part of the problem may be that I'm using a gmail account. Has anyone successfully
set one of these up recently? (My account is new and I've obtained an application
specific password for use with jBPM)
3. Newer versions of the jars used by the Email task are available (activation-1.1.jar,
mail-1.4.jar). Should these be used instead?
4. Is the built-in Email service task essentially the same as the one provided by Kris V
at
http://people.redhat.com/kverlaen/repository/Email/? If so, should I be using that
instead?
Many thanks,
Andy McC
PS The editor seems to have done random things with the fonts in the posting. Sorry.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/806520#806520]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]