AnsweredAssumed Answered

mail task config(activiti rest)

Question asked by cylia.ami on Dec 10, 2018

Hi,

I tried to configure mail task with activiti rest, I modify the activiti-custom-context.xml file and the engine.properties file in the following way:

#activiti-custom-context.xml

<property name="mailServerHost" value="smtp.gmail.com"/>

<property name="mailServerPort" value="465"/>

<property name="mailServerUseTLS" value="false"/>

<property name="mailServerUseSSL" value="true"/>

<property name="mailServerDefaultFrom" value="myadress@gmail.com"/>

<property name="mailServerUsername" value="myadress@gmail.com"/>

<property name="mailServerPassword" value="*************"/>

 

 

#engine.properties

engine.email.enabled=true
engine.email.host="smtp.gmail.com"
email.port=465
email.useCredentials=true
email.username=myadress@gmail.com
email.password=*********
email.ssl=true
email.tls=false
email.base.url=http://localhost:8080/activiti-app
email.from.default=myadress@gmail.com
email.from.default.name=myname

 

 The error I get this error 500

{
"message": "Internal server error",
"exception": "Could not send e-mail in execution 20001"
}

Outcomes