{"action":"created","issue":{"url":"https://api.github.com/repos/camunda/camunda-bpm-mail/issues/12","repository_url":"https://api.github.com/repos/camunda/camunda-bpm-mail","labels_url":"https://api.github.com/repos/camunda/camunda-bpm-mail/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/camunda/camunda-bpm-mail/issues/12/comments","events_url":"https://api.github.com/repos/camunda/camunda-bpm-mail/issues/12/events","html_url":"https://github.com/camunda/camunda-bpm-mail/issues/12","id":321173002,"number":12,"title":"properties file is not loaded from classpath","user":{"login":"HassanKadhem","id":1519787,"avatar_url":"https://avatars0.githubusercontent.com/u/1519787?v=4","gravatar_id":"","url":"https://api.github.com/users/HassanKadhem","html_url":"https://github.com/HassanKadhem","followers_url":"https://api.github.com/users/HassanKadhem/followers","following_url":"https://api.github.com/users/HassanKadhem/following{/other_user}","gists_url":"https://api.github.com/users/HassanKadhem/gists{/gist_id}","starred_url":"https://api.github.com/users/HassanKadhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HassanKadhem/subscriptions","organizations_url":"https://api.github.com/users/HassanKadhem/orgs","repos_url":"https://api.github.com/users/HassanKadhem/repos","events_url":"https://api.github.com/users/HassanKadhem/events{/privacy}","received_events_url":"https://api.github.com/users/HassanKadhem/received_events","type":"User","site_admin":false},"labels":[{"id":390668863,"url":"https://api.github.com/repos/camunda/camunda-bpm-mail/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"saig0","id":4305769,"avatar_url":"https://avatars0.githubusercontent.com/u/4305769?v=4","gravatar_id":"","url":"https://api.github.com/users/saig0","html_url":"https://github.com/saig0","followers_url":"https://api.github.com/users/saig0/followers","following_url":"https://api.github.com/users/saig0/following{/other_user}","gists_url":"https://api.github.com/users/saig0/gists{/gist_id}","starred_url":"https://api.github.com/users/saig0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saig0/subscriptions","organizations_url":"https://api.github.com/users/saig0/orgs","repos_url":"https://api.github.com/users/saig0/repos","events_url":"https://api.github.com/users/saig0/events{/privacy}","received_events_url":"https://api.github.com/users/saig0/received_events","type":"User","site_admin":false},"assignees":[{"login":"saig0","id":4305769,"avatar_url":"https://avatars0.githubusercontent.com/u/4305769?v=4","gravatar_id":"","url":"https://api.github.com/users/saig0","html_url":"https://github.com/saig0","followers_url":"https://api.github.com/users/saig0/followers","following_url":"https://api.github.com/users/saig0/following{/other_user}","gists_url":"https://api.github.com/users/saig0/gists{/gist_id}","starred_url":"https://api.github.com/users/saig0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saig0/subscriptions","organizations_url":"https://api.github.com/users/saig0/orgs","repos_url":"https://api.github.com/users/saig0/repos","events_url":"https://api.github.com/users/saig0/events{/privacy}","received_events_url":"https://api.github.com/users/saig0/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-05-08T12:51:06Z","updated_at":"2018-05-14T11:27:17Z","closed_at":null,"author_association":"NONE","body":"I have placed my 'mail-config.properties' in /src/main/resources yet when I run my process I get the following exception \r\n`java.lang.IllegalStateException: Cannot find mail configuration at: classpath:/mail-config.properties\r\n\tat org.camunda.bpm.extension.mail.config.PropertiesMailConfiguration.loadProperties(PropertiesMailConfiguration.java:122)\r\n\tat org.camunda.bpm.extension.mail.config.PropertiesMailConfiguration.getProperties(PropertiesMailConfiguration.java:106)\r\n\tat org.camunda.bpm.extension.mail.config.PropertiesMailConfiguration.getSender(PropertiesMailConfiguration.java:78)\r\n\tat org.camunda.bpm.extension.mail.send.SendMailRequest.getFrom(SendMailRequest.java:62)\r\n`\r\n\r\nI checked the classpath of my process which is /WEB-INF/classes/ and the properties file is there. am I missing a configuration? \r\n\r\nplease note that I don't want to set the MAIL_CONFIG variable as I want each process to have a distinct mail-config.properties "},"comment":{"url":"https://api.github.com/repos/camunda/camunda-bpm-mail/issues/comments/388784608","html_url":"https://github.com/camunda/camunda-bpm-mail/issues/12#issuecomment-388784608","issue_url":"https://api.github.com/repos/camunda/camunda-bpm-mail/issues/12","id":388784608,"user":{"login":"HassanKadhem","id":1519787,"avatar_url":"https://avatars0.githubusercontent.com/u/1519787?v=4","gravatar_id":"","url":"https://api.github.com/users/HassanKadhem","html_url":"https://github.com/HassanKadhem","followers_url":"https://api.github.com/users/HassanKadhem/followers","following_url":"https://api.github.com/users/HassanKadhem/following{/other_user}","gists_url":"https://api.github.com/users/HassanKadhem/gists{/gist_id}","starred_url":"https://api.github.com/users/HassanKadhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HassanKadhem/subscriptions","organizations_url":"https://api.github.com/users/HassanKadhem/orgs","repos_url":"https://api.github.com/users/HassanKadhem/repos","events_url":"https://api.github.com/users/HassanKadhem/events{/privacy}","received_events_url":"https://api.github.com/users/HassanKadhem/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T11:27:17Z","updated_at":"2018-05-14T11:27:17Z","author_association":"NONE","body":"yes. \r\n\r\nI think there classpath of the each process should be the default path for mail-config.properties unless configured otherwise(setting MAIL_CONFIG environment variable if global configuration is desired)"}}
{"actor":{"display_login":"HassanKadhem"}}