Unable to use correct mail server and host

I’m using flowable 6.6.0 war and config the flowable.mail.server.host and flowable.mail.server.port in flowable-default.properties.

However, it throws error:

Could not send e-mail in execution

And I further trace down. I found it still using localhost with 1025 port, even I change the host and port in the config file.

Couldn’t connect to host, port: localhost, 1025; timeout 60000

Hi,

are you sure the properties are set correctly and active?
You could verify by checking the environment via the Spring Boot Actuators.
For example (with default authentication);

curl --location --request GET 'http://localhost:8080/flowable-ui/actuator/env'  --header 'Authorization: Basic YWRtaW46dGVzdA==' | json_pp

Yvo