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="xyz@xyz.com" />
<property name="mailServerUsername" value="xyz" />
<property name="mailServerPassword" value="xyz" />
<property name="mailServerUseSSL" value="true" />
2)engine.properties:-
# email properties
engine.email.enabled=true
engine.email.host=ABC
engine.email.port=25
engine.email.username=xyz
engine.email.password=xyz
engine.email.ssl=true
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