Hello, I’m trying to use the email functionality but I’m confused about where to store the email properties. In the documentation, it states that they could be stored in any app.properties.
I created my properties in the app.properties located in /modules/core/src but the application didn’t like it. i received the following error: Caused by: com.haulmont.cuba.core.global.RemoteException:org.activiti.engine.ActivitiException: Could not send e-mail in execution 5038
—org.apache.commons.mail.EmailException: Sending the email to the following server failed : localhost:25
—com.sun.mail.util.MailConnectException: Couldn’t connect to host, port: localhost, 25; timeout -1
—java.net.ConnectException: Connection refused: connect
I’m trying to send email from a BPM Email Task.
The larger question is, it’s okay for development to store those properties in the app.properties, but if i’m going to install the app at multiple clients, I would need an easy way to configure the email properties.
in fact, what would be great is a screen within the Administration menu, where we can add/edit those properties.