I’m trying to use the camunda-bpm-mail extension developed by the community
my mail-config.properties file is located inside /src/main/resources which is the normal location for such files. the documentation indicates that unless we want to place mail-config.properties file somewhere else (e.g. $CATALINA_HOME/conf/ ) then we must set an environment variable MAIL_CONFIG for the connector to work. when I don’t copy the mail-config.properties file to tomcat config folder I get the error no config file found in class path
java.lang.IllegalStateException: Cannot find mail configuration at: classpath:/mail-config.properties
which makes no sense, since my mail-config.properties is inside the default folder location “/src/main/resources”. I managed to get the connector to work when I copy mail-config.properties to tomcat config folder and setting MAIL_CONFIG but that’s not what I want. because maybe different processes may use different mail-server configurations, placing the mail-config file in tomcat config folder and setting an environment will limit the connector to only one configuration.
any idea what might be wrong? is there someone who managed to get the connector to work with the default setup ?