cancel
Showing results for 
Search instead for 
Did you mean: 

Using own mail sessions

tbe
Champ in-the-making
Champ in-the-making
Hi,

is there another way to configure the mail session than using the spring bean? We have an existing MailSession in our application and want activiti to use this session. We cannot pass host-name, user and password to activiti, because there's no access to this information.

Thanks,
Tom
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Currently, there is no way of using this. You could create your own JavaDelegate that uses your session, based on the email-task implementation.

see http://activiti.org/userguide/index.html#bpmnJavaServiceTask
see http://activiti.org/userguide/index.html#serviceTaskFieldInjection