leaf-xue [https://community.jboss.org/people/leaf-xue] created the discussion

"To do a simple mail flow problem"

To view the discussion, visit: https://community.jboss.org/message/758479#758479

--------------------------------------------------------------
Hi
To do a simple mail flow problem, asks everybody to help to solve.Specific code 
is as follows:

*public void testExclusiveSplitDefault() throws Exception {*
*        KnowledgeBase kbase = 
createKnowledgeBase("BPMN2-ExclusiveSplitDefault.bpmn2");*
*        StatefulKnowledgeSession ksession = createKnowledgeSession(kbase);*
*        EmailWorkItemHandler emailHandler1 = new 
EmailWorkItemHandler("smtp.gmail.com","465", " mailto:[email protected] 
[email protected]", "password");*
*        emailHandler1.getConnection().setStartTls(true);*
*        
ksession.getWorkItemManager().registerWorkItemHandler("Email",emailHandler1);* 
*         ksession.startProcess("com.sample.test");*
*     }*


When I execute the code, the console without exception, did not send a message 
to me, is this is what causes it? :-/
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/758479#758479]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to