cancel
Showing results for 
Search instead for 
Did you mean: 

Where to config the server's properties of email task

fly_yuyong
Champ in-the-making
Champ in-the-making
Firstly,I am sorry that my English is bad.

I have read the guide for activiti 5.4 and I have read the part of email task
The case of this part just point out that how to config "from","to","subject", and "html".

like this
<serviceTask id="xx" activiti:type="mail">
      <extensionElements>
           <activiti:field name="from" stringValue="xxxx@xxx.com"/>
           <activiti:field name="to"  stringValue="xxxxx"/>
           …….
      </extensionElements> 
</serviceTask>



but I don't know where to config the "mailServerHost","mailServerPort" ,"mailServerUsername",and "mailServerPassword".
please help me ,and give me an example.

Thank you very much!
1 REPLY 1

chris_joelly
Champ in-the-making
Champ in-the-making
according to the user guide the mail server properties needs to be set in the activiti.cfg.xml file, or an appropriate way depending on how u initialize and start the Activiti engine:
http://www.activiti.org/userguide/index.html#bpmnEmailTaskServerConfiguration

and maybe u should update to 5.9. 5.4 seems rather old…

hth