AnsweredAssumed Answered

Mail Task in Activiti-Rest application

Question asked by sonalik on Apr 10, 2017
Latest reply on Apr 14, 2017 by jearles

Hi Team,


I have a query regarding Mail Task in Activiti-Rest application. I am using activiti-5.22.0 version.


For Mail configuration i have modified below files in Tomcat 8.0\webapps\activiti-rest\WEB-INF\classes:-

1) activiti-custom-context.xml :-

<!-- Email Server Configuration -->

<property name="mailServerHost" value="ABC" />
<property name="mailServerPort" value="25" />

<property name="mailServerDefaultFrom" value="" />
<property name="mailServerUsername" value="xyz" />
<property name="mailServerPassword" value="xyz" />
<property name="mailServerUseSSL" value="true" />



 # email properties


Even after setting these properties i am not able to send mail. Getting "org.activiti.engine.ActivitiException: Could not send e-mail".

Also the rest application reads all properties correctly like the host, etc except the port. It is by default using 465 port even if i have configured 25.


Same configuration works for activiti-explorer. But fails for activiti-rest.


Looking forward for your support as always. Thanks in advance.


- Sonali