cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration of Mail Server for MailTask

al_lv
Champ in-the-making
Champ in-the-making
Hallo all,

I tried to configure the mail server in activiti.cfg.xml directly in my project, but there is unfortunately no effect.
If I configure the mail server in the activiti.cfg.xml in apache-tomcat-6.0.29\webapps\activiti-rest\WEB-INF\lib\activiti-cfg.jar\ then works.
But it is very laborious.

What is the best way to configure the Mailserver?

Best regards

Alexej
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
The activiti.cfg.xml file in the rest-webapp is the engine configuration used for explorer and probe, so if you're using explorer and probe, this is the place to put the mail-server configuration. There is a servlet context-listener in the webapp that loads the ProcessEngine, based on the activiti.cfg.xml on the classpath.

If you don't need the rest-webapp (and explorer/probe), you can create the engine yourself: http://activiti.org/userguide/index.html#configuration